<?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 : ActiveX problem...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : ActiveX problem...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 12:49:29 +0000</pubDate>
  <lastBuildDate>Fri, 05 Nov 2004 01:21:41 +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=1261</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[ActiveX problem... : same as standard MFC application....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1261&amp;PID=3844&amp;title=activex-problem#3844</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1261<br /><strong>Posted:</strong> 05 November 2004 at 1:21am<br /><br /><P>same as standard MFC application. add </P><P>ON_UPDATE_COMMAND_UI(ID, OnUpdateID) in message map of Frame.</P>]]>
   </description>
   <pubDate>Fri, 05 Nov 2004 01:21:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1261&amp;PID=3844&amp;title=activex-problem#3844</guid>
  </item> 
  <item>
   <title><![CDATA[ActiveX problem... :  I am also using the CXTPToolBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1261&amp;PID=3835&amp;title=activex-problem#3835</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=719">fredwobus</a><br /><strong>Subject:</strong> 1261<br /><strong>Posted:</strong> 04 November 2004 at 8:46am<br /><br />I am also using the CXTPToolBar inside an ActiveX ATL-Control.<br>So I am also struggling with the CmdUI stuff.<br><br>I added a messagel handler in my message map<br><br>BEGIN_MSG_MAP(CMyControl)<br>..<br>&nbsp;&nbsp;&nbsp; MESSAGE_HANDLER(WM_IDLEUPDATECMDUI, OnIdleUpdateCmdUI)<br>&nbsp;&nbsp;&nbsp; CHAIN_MSG_MAP(CComCompositeControl&lt;CMyControl&gt;)<br>END_MSG_MAP()<br><br>and I <span style="font-weight: bold;">DO</span> get these messages. <br><br><br>I have another problem :<br>The wParam of the OnIdleUpdateCmdUI handler means disableIfNoHandler.As I don't have any UpdateUI Handlers - all my buttons are disabled.<br><br>How do you write an UpdateUI handler for a toolbar UI in an ActiveX control ?<br><span style="font-size:10px"><br /><br />Edited by fredwobus</span>]]>
   </description>
   <pubDate>Thu, 04 Nov 2004 08:46:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1261&amp;PID=3835&amp;title=activex-problem#3835</guid>
  </item> 
  <item>
   <title><![CDATA[ActiveX problem... : ActiveX frame has no WM_IDLEUPDATECMDUI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1261&amp;PID=3443&amp;title=activex-problem#3443</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1261<br /><strong>Posted:</strong> 12 October 2004 at 2:11am<br /><br /><P>ActiveX frame has no WM_IDLEUPDATECMDUI messages. You must emulate it:</P><P>SetTimer(WM_IDLEUPDATECMDUI, 100, NULL);</P><P>&nbsp;</P><P>void CActiveXDocControl::OnTimer(UINT nIDEvent) <BR>{<BR>&nbsp;&nbsp;&nbsp; // Since we're in an OCX, we don't control the message loop,<BR>&nbsp;&nbsp;&nbsp; // so CWinThread::OnIdle is never called. That means we have<BR>&nbsp;&nbsp;&nbsp; // to periodically pump the ON_UPDATE_COMMAND_UI messages<BR>&nbsp;&nbsp;&nbsp; // by hand.<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; SendMessageToDescendants(WM_IDLEUPDATECMDUI, TRUE);<BR>&nbsp;&nbsp;&nbsp; COleControl::OnTimer(nIDEvent);<BR>}<BR></P>]]>
   </description>
   <pubDate>Tue, 12 Oct 2004 02:11:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1261&amp;PID=3443&amp;title=activex-problem#3443</guid>
  </item> 
  <item>
   <title><![CDATA[ActiveX problem... : Is there anybody who attche CXTPToolbarto...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1261&amp;PID=3426&amp;title=activex-problem#3426</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=767">thunder0</a><br /><strong>Subject:</strong> 1261<br /><strong>Posted:</strong> 11 October 2004 at 4:15am<br /><br /><P><FONT face="Arial, Helvetica, sans-serif" size=1>Is there anybody who attche CXTPToolbar&nbsp;to the activeX?</FONT></P><P><FONT face=Arial size=1>everything works fine except toolbar button clicked status doesn't change...</FONT></P><P><FONT face=Arial size=1>I use CXTPOffice2003Theme....</FONT></P><P><FONT face=Arial size=1>I guess it is dll problem....</FONT></P><P><FONT face=Arial size=1>If anyone who have exprience with that, let me know....^^</FONT></P>]]>
   </description>
   <pubDate>Mon, 11 Oct 2004 04:15:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1261&amp;PID=3426&amp;title=activex-problem#3426</guid>
  </item> 
 </channel>
</rss>