<?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 : Dynamic popup menu in ribbon splut-button?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Dynamic popup menu in ribbon splut-button?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 01:55:19 +0000</pubDate>
  <lastBuildDate>Fri, 10 Apr 2009 06:36:40 +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=13945</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[Dynamic popup menu in ribbon splut-button? : ok :) ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47760&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47760</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 10 April 2009 at 6:36am<br /><br />ok :)]]>
   </description>
   <pubDate>Fri, 10 Apr 2009 06:36:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47760&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47760</guid>
  </item> 
  <item>
   <title><![CDATA[Dynamic popup menu in ribbon splut-button? : I solved it, so let me explain.  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47751&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47751</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 10 April 2009 at 4:30am<br /><br />I solved it, so let me explain.<DIV>&nbsp;</DIV><DIV>I have a popup-button in my ribbon. The popup menu to show is dynamic and changes every now and then. Where should I populate it?</DIV><DIV>&nbsp;</DIV><DIV>The answer is: ON_XTP_INITMENUPOPUP (don't remember the exact name). Inside this handler I remove all menu-items and recreate them. Works!</DIV>]]>
   </description>
   <pubDate>Fri, 10 Apr 2009 04:30:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47751&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47751</guid>
  </item> 
  <item>
   <title><![CDATA[Dynamic popup menu in ribbon splut-button? : Hi, I don&amp;#039;t understand your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47745&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47745</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 10 April 2009 at 1:27am<br /><br /><P>Hi,</P><DIV>I don't understand your task. You alredy wrote 3 times that these items inside popup-menu and not inside Ribbon. </DIV>]]>
   </description>
   <pubDate>Fri, 10 Apr 2009 01:27:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47745&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47745</guid>
  </item> 
  <item>
   <title><![CDATA[Dynamic popup menu in ribbon splut-button? : Ok, so the question remains. When...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47729&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 09 April 2009 at 4:39pm<br /><br />Ok, so the question remains. When should I populate/re-populate it? The wanted items will change during the lifetime of the ribbon...<DIV>&nbsp;</DIV><DIV>Perhaps the gallery-handler? OnMyGallery() ...</DIV>]]>
   </description>
   <pubDate>Thu, 09 Apr 2009 16:39:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47729&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47729</guid>
  </item> 
  <item>
   <title><![CDATA[Dynamic popup menu in ribbon splut-button? : Hi, Same way will work for dynamic...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47723&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47723</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 09 April 2009 at 7:49am<br /><br /><P>Hi,</P><DIV>Same way will work for dynamic popup-menu for a ribbon control. You only can't use it to popluate control directly in Ribbon.</DIV>]]>
   </description>
   <pubDate>Thu, 09 Apr 2009 07:49:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47723&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47723</guid>
  </item> 
  <item>
   <title><![CDATA[Dynamic popup menu in ribbon splut-button? : Ok, I just noticed there is a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47719&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47719</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 09 April 2009 at 6:06am<br /><br /><P>Ok, I just noticed there is a problem with OnCalcDynamicSize when the the menu buttons do not close the menu (SetCloseOnSubMenuClick(FALSE)). The item is not redrawn after clicking it the first time. Perhaps just a ribbon-problem, but I sense this is a problem for the DynamicPopup sample too.</P><P>Anyway, can you please tell me how to create a dynamic popup-menu for a ribbon control. Do I have to use a gallery? Thanks!</P>]]>
   </description>
   <pubDate>Thu, 09 Apr 2009 06:06:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47719&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47719</guid>
  </item> 
  <item>
   <title><![CDATA[Dynamic popup menu in ribbon splut-button? : Hi,  OnCalcDynamicSize will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47716&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47716</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 09 April 2009 at 3:40am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>OnCalcDynamicSize will be called when size of Ribbon will be changed or something like that. Better use it only in Popup windows - not in toolbars or Ribbons.</DIV>]]>
   </description>
   <pubDate>Thu, 09 Apr 2009 03:40:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47716&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47716</guid>
  </item> 
  <item>
   <title><![CDATA[Dynamic popup menu in ribbon splut-button? : Just want to point out that DynamicPopups...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47692&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47692</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 08 April 2009 at 2:47pm<br /><br /><P>Just want to point out that DynamicPopups principle does not work for ribbon-controls!</P><DIV>However, simply adding the control to the group solves it. But if OnCreateControl is supposed to be fired, you do indeed have a bug!</DIV>]]>
   </description>
   <pubDate>Wed, 08 Apr 2009 14:47:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47692&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47692</guid>
  </item> 
  <item>
   <title><![CDATA[Dynamic popup menu in ribbon splut-button? : Ah, thanks! OnCreateControl if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47672&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47672</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 08 April 2009 at 2:57am<br /><br /><P>Ah, thanks!</P><DIV>OnCreateControl if I recall correctly... :)</DIV>]]>
   </description>
   <pubDate>Wed, 08 Apr 2009 02:57:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47672&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47672</guid>
  </item> 
  <item>
   <title><![CDATA[Dynamic popup menu in ribbon splut-button? : Hi,  Most right way is to create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47666&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47666</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13945<br /><strong>Posted:</strong> 08 April 2009 at 12:53am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Most right way is to create special control that popuplates menu. See how it work in Samples\CommandBars\DynamicPopups\ControlUndo.cpp </DIV>]]>
   </description>
   <pubDate>Wed, 08 Apr 2009 00:53:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13945&amp;PID=47666&amp;title=dynamic-popup-menu-in-ribbon-splutbutton#47666</guid>
  </item> 
 </channel>
</rss>