<?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 : Task Panel Tooltips in ActiveX c&#111;ntrol</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Task Panel Tooltips in ActiveX c&#111;ntrol]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 04:40:45 +0000</pubDate>
  <lastBuildDate>Wed, 03 Nov 2004 10:51:27 +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=1361</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[Task Panel Tooltips in ActiveX c&#111;ntrol : Worked like a charm. Thank you....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1361&amp;PID=3828&amp;title=task-panel-tooltips-in-activex-control#3828</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=695">KFournier</a><br /><strong>Subject:</strong> 1361<br /><strong>Posted:</strong> 03 November 2004 at 10:51am<br /><br />Worked like a charm. Thank you.]]>
   </description>
   <pubDate>Wed, 03 Nov 2004 10:51:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1361&amp;PID=3828&amp;title=task-panel-tooltips-in-activex-control#3828</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel Tooltips in ActiveX c&#111;ntrol : All right. PreTranslateMessage...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1361&amp;PID=3814&amp;title=task-panel-tooltips-in-activex-control#3814</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1361<br /><strong>Posted:</strong> 03 November 2004 at 3:41am<br /><br /><P>All right. PreTranslateMessage doesn't work with ActiveX. (MFC feature)</P><P>you need:</P><P>Override CXTPTaskPanel and add</P><P>BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)<BR>&nbsp;{<BR>&nbsp;&nbsp;MSG msg;<BR>&nbsp;&nbsp;msg.wParam = wParam;<BR>&nbsp;&nbsp;msg.lParam = lParam;<BR>&nbsp;&nbsp;msg.message = message;<BR>&nbsp;&nbsp;msg.hwnd = m_hWnd;<BR>&nbsp;&nbsp;GetCursorPos(&amp;msg.pt);</P><P>&nbsp;&nbsp;// Tooltips notification.<BR>&nbsp;&nbsp;FilterToolTipMessage(&amp;msg);</P><P>&nbsp;&nbsp;return CWnd::OnWndMsg(message, wParam, lParam, pResult);<BR>&nbsp;}&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 03 Nov 2004 03:41:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1361&amp;PID=3814&amp;title=task-panel-tooltips-in-activex-control#3814</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel Tooltips in ActiveX c&#111;ntrol : I&amp;#039;m writing an MFC ActiveX...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1361&amp;PID=3809&amp;title=task-panel-tooltips-in-activex-control#3809</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=695">KFournier</a><br /><strong>Subject:</strong> 1361<br /><strong>Posted:</strong> 02 November 2004 at 3:46pm<br /><br /><P>I'm writing an MFC ActiveX control in VC++ 6.0 which has a child task panel control. Tooltips do not appear for this control, and I was able to trace it down to the fact that (1) PreTranslateMessage doesn't fire for MFC ActiveX controls (at least is the application in which my controls are embedded) and (2) even if I get it to fire, AFX_MODULE_STATE's m_pfnFilterToolTipMessage is NULL.</P><P>I also noticed the _XTP_ACTIVEX section of the CXTPTaskPanel::Create method for setting the AFX_MODULE_STATE's pfnFilterToolTipMessage to AxFilterToolTipMessage. Now, as far as I can tell, AxFilterToolTipMessage is not MFC.</P><P>So, the question is: what's the best way to get this control's tooltips to appear? Should I try to force PreTranslateMessage to fire, or just call CWnd::FilterToolTipMessage directly somewhere?</P>]]>
   </description>
   <pubDate>Tue, 02 Nov 2004 15:46:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1361&amp;PID=3809&amp;title=task-panel-tooltips-in-activex-control#3809</guid>
  </item> 
 </channel>
</rss>