<?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 : Toolbar dynamic menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Toolbar dynamic menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 23:48:35 +0000</pubDate>
  <lastBuildDate>Mon, 04 Dec 2006 09:23:09 +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=4553</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[Toolbar dynamic menu :    rsimcic wrote:if (lpCreateControl-&amp;gt;nID...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=17891&amp;title=toolbar-dynamic-menu#17891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2498">Tsenoh</a><br /><strong>Subject:</strong> 4553<br /><strong>Posted:</strong> 04 December 2006 at 9:23am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by rsimcic" alt="Originally posted by rsimcic" style="vertical-align: text-bottom;" /> <strong>rsimcic wrote:</strong><br /><br /><font size="2"><font color="#0000ff" size="2"></font></font><p><font size="2"><font color="#0000ff" size="2">if</font><font size="2"> (lpCreateControl-&gt;nID == ID_INSTALATION_LIST)</font></font></p><p><font size="2"><font size="2">{</font></font></p><p><font size="2"><font size="2">lpCreateControl-&gt;pControl = </font><font color="#0000ff" size="2">new</font><font size="2"> CnstalationList();</font></font></p><p><font size="2"><font color="#0000ff" size="2">return</font><font size="2"> TRUE;</font></font></p><p><font size="2"><font size="2">}</font></font></p><div></div><p><font size="2"><font size="2">&nbsp;</font></font></td></tr></table></p><br><p>Can it be that an "I" is missing in the line with "new" (C<u><b>I</b></u>nstalationList)<br></p>]]>
   </description>
   <pubDate>Mon, 04 Dec 2006 09:23:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=17891&amp;title=toolbar-dynamic-menu#17891</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar dynamic menu : Hi,   It looks ok. Attach full...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=14049&amp;title=toolbar-dynamic-menu#14049</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4553<br /><strong>Posted:</strong> 07 July 2006 at 3:49pm<br /><br /><DIV>Hi, </DIV><DIV>&nbsp;</DIV><DIV>It looks ok. Attach full mainfrm.cpp&nbsp;to see. Try to recompile project may be problem that resource in rc is different than in cpp...</DIV>]]>
   </description>
   <pubDate>Fri, 07 Jul 2006 15:49:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=14049&amp;title=toolbar-dynamic-menu#14049</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar dynamic menu : This is what I need but in my...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=14043&amp;title=toolbar-dynamic-menu#14043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1349">rsimcic</a><br /><strong>Subject:</strong> 4553<br /><strong>Posted:</strong> 07 July 2006 at 12:35pm<br /><br /><P>This is what I need but in my case it's not working. I Created the new class like in the example and I added the submenu button to the OnCreateControl function but it's not going into the if statement.</P><DIV>This is the toolbar button if statement in OnCreateControl function</DIV><FONT color=#0000ff size=2><P>if</FONT><FONT size=2> (lpCreateControl-&gt;nID == ID_CALC_PIPE_LINE)</P><P>{</P><P>lpCreateControl-&gt;controlType = xtpControlSplitButtonPopup;</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> TRUE;</P><P>}</P><DIV><DIV></DIV>And this is the submenu button statement that doesn't work (here doesn't enter but the menu is created)</DIV><FONT color=#0000ff size=2><P>if</FONT><FONT size=2> (lpCreateControl-&gt;nID == ID_INSTALATION_LIST)</P><P>{</P><P>lpCreateControl-&gt;pControl = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CnstalationList();</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> TRUE;</P><P>}</P><DIV></DIV><P>&nbsp;</P><P>This is the menu:</P><DIV></DIV><FONT size=2><P>ID_CALC_PIPE_LINE MENU DISCARDABLE</P><P>BEGIN</P><P>POPUP ""</P><P>BEGIN</P><P>MENUITEM "&#091;Installations&#093;", ID_INSTALATION_LIST</P><P>END</P><DIV></DIV><DIV></DIV>What is missing?</FONT></FONT></FONT>]]>
   </description>
   <pubDate>Fri, 07 Jul 2006 12:35:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=14043&amp;title=toolbar-dynamic-menu#14043</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar dynamic menu : Hello, See DynamicPopups sample....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=14034&amp;title=toolbar-dynamic-menu#14034</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4553<br /><strong>Posted:</strong> 07 July 2006 at 8:49am<br /><br /><DIV>Hello,</DIV><DIV>See DynamicPopups sample.</DIV>]]>
   </description>
   <pubDate>Fri, 07 Jul 2006 08:49:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=14034&amp;title=toolbar-dynamic-menu#14034</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar dynamic menu : How can I, at runtime,attach a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=14030&amp;title=toolbar-dynamic-menu#14030</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1349">rsimcic</a><br /><strong>Subject:</strong> 4553<br /><strong>Posted:</strong> 07 July 2006 at 6:25am<br /><br /><DIV>How can I, at runtime,&nbsp;attach a dynamically created menu to the toolbar button&nbsp;with the flag xtpControlSplitButtonPopup(created in OnCreateControl function). I have the menu in resource file but occasionally I must modify it or replace it with a new one.</DIV><DIV>&nbsp;</DIV><DIV>Please help.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Fri, 07 Jul 2006 06:25:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4553&amp;PID=14030&amp;title=toolbar-dynamic-menu#14030</guid>
  </item> 
 </channel>
</rss>