<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Custom Tooltips???</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Custom Tooltips???]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 07:12:50 +0000</pubDate>
  <lastBuildDate>Thu, 20 Dec 2007 13:41:22 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=9102</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Custom Tooltips??? : Worked great thank you very much!!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29674&amp;title=custom-tooltips#29674</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2980">shady14u</a><br /><strong>Subject:</strong> 9102<br /><strong>Posted:</strong> 20 December 2007 at 1:41pm<br /><br />Worked great thank you very much!!]]>
   </description>
   <pubDate>Thu, 20 Dec 2007 13:41:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29674&amp;title=custom-tooltips#29674</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Tooltips??? : Oh, I got the gradient by using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29667&amp;title=custom-tooltips#29667</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 9102<br /><strong>Posted:</strong> 20 December 2007 at 11:37am<br /><br />Oh, I got the gradient by using a label control that has the ability to create the gradient within itself by giving the starting and finishing colours.<DIV>&nbsp;</DIV><DIV>If you don't have that, then you could simply use a picturebox... and apply a gradient fill to it.</DIV>]]>
   </description>
   <pubDate>Thu, 20 Dec 2007 11:37:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29667&amp;title=custom-tooltips#29667</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Tooltips??? : Put a label on your desktop i.e....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29666&amp;title=custom-tooltips#29666</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 9102<br /><strong>Posted:</strong> 20 December 2007 at 11:34am<br /><br /><P>Put a label on your desktop i.e. lblTooltip&nbsp;and make it invisible. </P><DIV>Put a timer on the desktop i.e. tmrTooltip and set it to enabled = False and Interval 1000 (1 second)</DIV><DIV>&nbsp;</DIV><DIV>The following code should get you a tooltip that appears 1 second after you scroll over an Event in the Calendar control. I wanted a delay before the tooltip appeared.</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#003399>Private Sub</FONT> CalendarControl_MouseMove(Button <FONT color=#003399>As Integer</FONT>, Shift <FONT color=#003399>As Integer</FONT>, X <FONT color=#003399>As Single</FONT>, Y <FONT color=#003399>As Single</FONT>)<BR>&nbsp;&nbsp;&nbsp; <FONT color=#003399>If </FONT>Button = 0 <FONT color=#003399>Then</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#006699> </FONT><FONT color=#003399>Dim </FONT>HitTest <FONT color=#003399>As </FONT>CalendarHitTestInfo<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#003399>Set </FONT>HitTest = CalendarControl.ActiveView.HitTest<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalendarControl.EnableToolTips <FONT color=#003399>False</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#003399>If </FONT><FONT color=#003399>Not </FONT>HitTest.ViewEvent <FONT color=#003399>Is Nothing</FONT> <FONT color=#003399>Then</FONT></DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#009900>' Set the caption of the Tooltip Label</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblTooltip.Caption = Replace(HitTest.ViewEvent.Event.Subject &amp; vbCrLf &amp; HitTest.ViewEvent.Event.Body, "&amp;", "&amp;&amp;")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#009900>' Check to see if the Tooltip goes beyond the Screen width</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#003399>If </FONT>X + lblTooltip.Width &gt; Screen.Width <FONT color=#003399>Then</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X = Screen.Width - lblTooltip.Width<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#003399>End If</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#009900>' Position the Tooltip</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblTooltip.Move X, Y + 1300<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#009900>'&nbsp;Start the Timer for the Tooltip</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If lblTooltip.Visible &lt;&gt; True Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tmrTooltip.Enabled = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#003399>Else</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#009900>' Hide the Tooltip<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tmrTooltip.Enabled = <FONT color=#003399>False</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblTooltip.Visible = <FONT color=#003399>False</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#003399> End If</FONT></DIV><DIV>&nbsp;&nbsp;&nbsp; <FONT color=#003399>Else</FONT></DIV><DIV><FONT color=#003399>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#009900>' Hide the Tooltip</FONT></FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tmrTooltip.Enabled = <FONT color=#003399>False</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblTooltip.Visible = <FONT color=#003399>False</FONT><BR><FONT color=#003399>&nbsp;&nbsp;&nbsp; End If</FONT></DIV><DIV><FONT color=#003399>End Sub</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT color=#003399>Private Sub</FONT> tmrTooltip_Timer()</DIV><DIV>&nbsp;&nbsp;&nbsp; <FONT color=#009900>' Display the Tooltip &amp;&nbsp;stop the Timer</FONT><BR>&nbsp;&nbsp;&nbsp; lblTooltip.Visible = <FONT color=#003399>True</FONT><BR>&nbsp;&nbsp;&nbsp; tmrTooltip.Enabled = <FONT color=#003399>False</FONT><BR><FONT color=#003399>End Sub</FONT></DIV><DIV>&nbsp;</DIV><DIV>You may need to add additional code depending on how you use this in your app.</DIV>]]>
   </description>
   <pubDate>Thu, 20 Dec 2007 11:34:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29666&amp;title=custom-tooltips#29666</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Tooltips??? : I am looking to do this same exact...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29664&amp;title=custom-tooltips#29664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2980">shady14u</a><br /><strong>Subject:</strong> 9102<br /><strong>Posted:</strong> 20 December 2007 at 9:04am<br /><br /><P>I am looking to do this same exact thing... do you have an example or can you explain how you did this to make the custom tool tips with gradients and extra width?</P><DIV>&nbsp;</DIV><DIV>Thanks in advance</DIV>]]>
   </description>
   <pubDate>Thu, 20 Dec 2007 09:04:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29664&amp;title=custom-tooltips#29664</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Tooltips??? : Yeah I thought as much... thanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29652&amp;title=custom-tooltips#29652</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 9102<br /><strong>Posted:</strong> 20 December 2007 at 4:33am<br /><br /><P>Yeah I thought as much... thanks for the confirmation that it can't be done by the control itself.</P><DIV>Managed to workaround it with the Mousemove and HitTest.</DIV><DIV>&nbsp;</DIV><P align=center><img src="https://forum.codejock.com/uploads/20071220_043213_untitled.bmp" border="0"></P>]]>
   </description>
   <pubDate>Thu, 20 Dec 2007 04:33:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29652&amp;title=custom-tooltips#29652</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Tooltips??? : No, with those tooltips its not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29634&amp;title=custom-tooltips#29634</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 9102<br /><strong>Posted:</strong> 19 December 2007 at 5:45pm<br /><br />No, with those tooltips its not possible. <br><br>However, as a workaround you can disable regular tooltips, catch events like MouseMove and using HitTest set required text to any kind of custom Tooltips components.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 19 Dec 2007 17:45:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29634&amp;title=custom-tooltips#29634</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Tooltips??? : I dont think you can atm.  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29548&amp;title=custom-tooltips#29548</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3061">cjprb</a><br /><strong>Subject:</strong> 9102<br /><strong>Posted:</strong> 18 December 2007 at 7:53am<br /><br />I dont think you can atm.<DIV>&nbsp;</DIV><DIV>I would also like that to be added to the next version.</DIV><DIV>&nbsp;</DIV><DIV>Claus</DIV>]]>
   </description>
   <pubDate>Tue, 18 Dec 2007 07:53:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29548&amp;title=custom-tooltips#29548</guid>
  </item> 
  <item>
   <title><![CDATA[Custom Tooltips??? : Hi,  Is there any way that the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29440&amp;title=custom-tooltips#29440</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 9102<br /><strong>Posted:</strong> 14 December 2007 at 4:51am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Is there any way that the CalendarControl tooltips can be customed to have the Office2007 theme and adjust the tooltip width?</DIV><DIV>&nbsp;</DIV><P align=center><img src="https://forum.codejock.com/uploads/20071214_044919_Tooltip.bmp" border="0"></P><DIV>P.S. I hope I get a response to this, even if it's a no it can't be done!!!</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 14 Dec 2007 04:51:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9102&amp;PID=29440&amp;title=custom-tooltips#29440</guid>
  </item> 
 </channel>
</rss>