<?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 : CXTPToolbar in ActiveX dialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPToolbar in ActiveX dialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 08:55:10 +0000</pubDate>
  <lastBuildDate>Tue, 24 Jun 2008 15:10:36 +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=11098</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[CXTPToolbar in ActiveX dialog : Hi,  It never called. You saw...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37365&amp;title=cxtptoolbar-in-activex-dialog#37365</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11098<br /><strong>Posted:</strong> 24 June 2008 at 3:10pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>It never called. You saw WM_IDLEUPDATE of main dialog - not child.</DIV>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 15:10:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37365&amp;title=cxtptoolbar-in-activex-dialog#37365</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolbar in ActiveX dialog : Thanks, that fixed the problem.  What...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37346&amp;title=cxtptoolbar-in-activex-dialog#37346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1804">kram617</a><br /><strong>Subject:</strong> 11098<br /><strong>Posted:</strong> 24 June 2008 at 11:08am<br /><br />Thanks, that fixed the problem.<DIV>&nbsp;</DIV><DIV>What confused me is that my ON_UPDATE_COMMAND_UI handlers were getting called all along, but the UI was never being updated.&nbsp; Apparently, forwarding the WM_IDLEUPDATECMDUI from the topmost control&nbsp;window is enough to&nbsp;receive the&nbsp;ON_UPDATE_COMMAND_UI, but it doesn't actually update the UI.&nbsp; The UI changes won't take affect unless each&nbsp;individual popup window is manually forwarded WM_IDLEUPDATECMDUI.</DIV>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 11:08:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37346&amp;title=cxtptoolbar-in-activex-dialog#37346</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolbar in ActiveX dialog : Hi,  As I wrote problem with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37300&amp;title=cxtptoolbar-in-activex-dialog#37300</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11098<br /><strong>Posted:</strong> 24 June 2008 at 1:13am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>As I wrote problem with WM_IDLEUPDATECMDUI - your main dialog receives it, but child not.</DIV><DIV>&nbsp;</DIV><DIV>Add this:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;ON_MESSAGE(WM_IDLEUPDATECMDUI, OnIdleUpdate)<BR></DIV><DIV>LRESULT CTestDlg::OnIdleUpdate(WPARAM wParam, LPARAM lParam)<BR>{<BR>&nbsp;for (int i = 0; i &lt; m_array.GetSize(); i++)<BR>&nbsp;{<BR>&nbsp;&nbsp;CBrowserDlg* pBrowser = (CBrowserDlg*)m_array<em>;<BR>&nbsp;&nbsp;pBrowser-&gt;SendMessageToDescendants(WM_IDLEUPDATECMDUI, TRUE);<BR>&nbsp;}<BR>&nbsp;return 0;<BR>}</DIV>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 01:13:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37300&amp;title=cxtptoolbar-in-activex-dialog#37300</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolbar in ActiveX dialog : Here is the sample code:    ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37291&amp;title=cxtptoolbar-in-activex-dialog#37291</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1804">kram617</a><br /><strong>Subject:</strong> 11098<br /><strong>Posted:</strong> 23 June 2008 at 5:12pm<br /><br />Here is the sample code: <DIV>&nbsp;</DIV><DIV><DIV><a href="https://forum.codejock.com/uploads/20080623_171609_TestC&#111;ntrol.zip" target="_blank">uploads/20080623_171609_TestControl.zip</A><a href="http://uploads/temp/20080623_170408_TestC&#111;ntrol.zip" target="_blank"></A></DIV><DIV><DIV>&nbsp;</DIV></DIV></DIV><DIV>TestApp is the application and TestControl is the OCX.&nbsp; You will notice the main window&nbsp;correctly has the first four toolbar buttons enabled and the rest disabled.&nbsp; However, the popup windows wrongly enable all toolbar buttons.&nbsp; Plus, the buttons get stuck when you click them.</DIV><DIV>&nbsp;</DIV><DIV>This is v9.70 of Xtreme Toolkit Pro.</DIV><DIV>&nbsp;</DIV><DIV>Thanks for your help.</DIV>]]>
   </description>
   <pubDate>Mon, 23 Jun 2008 17:12:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37291&amp;title=cxtptoolbar-in-activex-dialog#37291</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolbar in ActiveX dialog : Have to work. Attach not working...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37285&amp;title=cxtptoolbar-in-activex-dialog#37285</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11098<br /><strong>Posted:</strong> 23 June 2008 at 3:49pm<br /><br />Have to work. Attach not working sample, I will show what you do wrong.]]>
   </description>
   <pubDate>Mon, 23 Jun 2008 15:49:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37285&amp;title=cxtptoolbar-in-activex-dialog#37285</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolbar in ActiveX dialog : Oleg,I think there is some confusion....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37278&amp;title=cxtptoolbar-in-activex-dialog#37278</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1804">kram617</a><br /><strong>Subject:</strong> 11098<br /><strong>Posted:</strong> 23 June 2008 at 3:20pm<br /><br />Oleg,<br><br>I think there is some confusion.&nbsp; I am already receiving the OnUpdateCmdUI messages.&nbsp; The problem I have is that the UI is not being updated to reflect my changes.&nbsp; The pCmdUI-&gt;Enable(false) calls are being ignored, even though I can step through the code in DEBUG to verify the line is being reached.<br><br>Thanks<br>]]>
   </description>
   <pubDate>Mon, 23 Jun 2008 15:20:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=37278&amp;title=cxtptoolbar-in-activex-dialog#37278</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolbar in ActiveX dialog : Hi, Modal Dialog don&amp;#039;t call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=36965&amp;title=cxtptoolbar-in-activex-dialog#36965</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11098<br /><strong>Posted:</strong> 19 June 2008 at 1:18am<br /><br />Hi,<DIV>Modal Dialog don't call OnUpdateCmdUI . you need manually call it:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;ON_MESSAGE(WM_KICKIDLE, OnKickIdle)<BR></DIV><DIV>LRESULT CDialogSampleDlg::OnKickIdle(WPARAM, LPARAM)<BR>{<BR>&nbsp;if (GetCommandBars()) GetCommandBars()-&gt;UpdateCommandBars();<BR>&nbsp;if (m_wndStatusBar.GetSafeHwnd()) m_wndStatusBar.SendMessage(WM_IDLEUPDATECMDUI, TRUE);<BR>&nbsp;return 0;<BR>}</DIV>]]>
   </description>
   <pubDate>Thu, 19 Jun 2008 01:18:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=36965&amp;title=cxtptoolbar-in-activex-dialog#36965</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolbar in ActiveX dialog : Hello,  I currently have an...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=36947&amp;title=cxtptoolbar-in-activex-dialog#36947</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1804">kram617</a><br /><strong>Subject:</strong> 11098<br /><strong>Posted:</strong> 18 June 2008 at 3:48pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>I currently have an ActiveX control which&nbsp;launches a popup dialog.&nbsp; On the popup dialog, I have an CXTPToolbar.&nbsp; The problem I am having is that the toolbar buttons are all showing up as enabled, even though my OnUpdateCmdUI handlers may specify otherwise.&nbsp; In addition, once I click a toolbar button, it stays pushed in (as if the CHECK property was turned on).&nbsp;&nbsp;My OnUpdateCmdUI handlers are definitely being called, but for some reason the toolbar is ignoring the enabled/checked button states.</DIV><DIV>&nbsp;</DIV><DIV>What's interesting is I also use a CXTPToolbar on the child window that rests directly on the COleControl, and everything is working fine there.&nbsp; It's only the popup dialog where I seem to be having a problem.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas?&nbsp; Thanks</DIV>]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 15:48:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11098&amp;PID=36947&amp;title=cxtptoolbar-in-activex-dialog#36947</guid>
  </item> 
 </channel>
</rss>