<?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 : Disable popup submenu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Disable popup submenu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 05:48:59 +0000</pubDate>
  <lastBuildDate>Fri, 28 Oct 2005 06:17:06 +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=1879</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[Disable popup submenu : Hi, Most easy way is to use WM_XTP_AFTERCREATECONTROL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=9328&amp;title=disable-popup-submenu#9328</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1879<br /><strong>Posted:</strong> 28 October 2005 at 6:17am<br /><br /><P>Hi,</P><P>Most easy way is to use WM_XTP_AFTERCREATECONTROL appeared in 9.80</P><P>ON_XTP_AFTERCREATECONTROL()</P><P>void CMainFrame::OnAfterCreateControl(LPCREATECONTROLSTRUCT lpCreateControl)<BR>{<BR>&nbsp;if (lpCreateControl-&gt;pControl-&gt;GetCaption() == _T("&amp;Window"))<BR>&nbsp;{<BR>&nbsp;&nbsp;lpCreateControl-&gt;pControl-&gt;SetID(1002);<BR>&nbsp;}</P><P>}</P>]]>
   </description>
   <pubDate>Fri, 28 Oct 2005 06:17:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=9328&amp;title=disable-popup-submenu#9328</guid>
  </item> 
  <item>
   <title><![CDATA[Disable popup submenu : Did you ever figure this out?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=9304&amp;title=disable-popup-submenu#9304</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1568">fishy</a><br /><strong>Subject:</strong> 1879<br /><strong>Posted:</strong> 27 October 2005 at 12:22pm<br /><br />Did you ever figure this out?&nbsp; I am wanting to do exactly the samething and I can't find any samples that cover this situation at all.]]>
   </description>
   <pubDate>Thu, 27 Oct 2005 12:22:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=9304&amp;title=disable-popup-submenu#9304</guid>
  </item> 
  <item>
   <title><![CDATA[Disable popup submenu : Are there currently any samples...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=6706&amp;title=disable-popup-submenu#6706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 1879<br /><strong>Posted:</strong> 20 May 2005 at 8:47am<br /><br />Are there currently any samples that show assigning an id in the OnCreateControl handler?<br><br>Even in OnCreateControl, how do I know when to assign the id since itis called for all menu items?&nbsp; I can narrow the choices by lookingat the controlType (xtpControlPopup) but short of using the caption Idont' know when to assign the id.<br>]]>
   </description>
   <pubDate>Fri, 20 May 2005 08:47:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=6706&amp;title=disable-popup-submenu#6706</guid>
  </item> 
  <item>
   <title><![CDATA[Disable popup submenu : you can assign some id in OnCreateControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=6651&amp;title=disable-popup-submenu#6651</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1879<br /><strong>Posted:</strong> 18 May 2005 at 4:54am<br /><br />you can assign some id in OnCreateControl handler. ]]>
   </description>
   <pubDate>Wed, 18 May 2005 04:54:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=6651&amp;title=disable-popup-submenu#6651</guid>
  </item> 
  <item>
   <title><![CDATA[Disable popup submenu : UpdateUI handlers do not work...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=6635&amp;title=disable-popup-submenu#6635</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 1879<br /><strong>Posted:</strong> 17 May 2005 at 2:46pm<br /><br />UpdateUI handlers do not work in this case because the popup submenu does not have an id.<br><br>The case I am referring to is the Windows or Direct3D menu in the following example:<br><br>&nbsp;<img src="uploads/larryp/2005-05-17_144429_menu.png" border="0"><br><br><br><br><br>]]>
   </description>
   <pubDate>Tue, 17 May 2005 14:46:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=6635&amp;title=disable-popup-submenu#6635</guid>
  </item> 
  <item>
   <title><![CDATA[Disable popup submenu : Use the command updateUI handler...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=6018&amp;title=disable-popup-submenu#6018</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=956">antonin</a><br /><strong>Subject:</strong> 1879<br /><strong>Posted:</strong> 30 March 2005 at 2:11pm<br /><br />Use the command updateUI handler]]>
   </description>
   <pubDate>Wed, 30 Mar 2005 14:11:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=6018&amp;title=disable-popup-submenu#6018</guid>
  </item> 
  <item>
   <title><![CDATA[Disable popup submenu : How do I disable a popup submenu?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=5457&amp;title=disable-popup-submenu#5457</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 1879<br /><strong>Posted:</strong> 28 February 2005 at 11:07pm<br /><br />How do I disable a popup submenu?&nbsp; Since it does not have an ID, Idon't know how to find it to call SetEnabled(false).&nbsp; I wouldrather not use the caption since my program is translated into severallanguages.<br><br>Larry<br>]]>
   </description>
   <pubDate>Mon, 28 Feb 2005 23:07:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1879&amp;PID=5457&amp;title=disable-popup-submenu#5457</guid>
  </item> 
 </channel>
</rss>