<?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 : About sample &quot;DynamicPopup&quot;</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : About sample &quot;DynamicPopup&quot;]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 13:00:59 +0000</pubDate>
  <lastBuildDate>Wed, 27 Jun 2007 01:51:20 +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=7459</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[About sample &quot;DynamicPopup&quot; : always trouble you,thanks ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7459&amp;PID=23974&amp;title=about-sample-dynamicpopup#23974</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3046">xxcln</a><br /><strong>Subject:</strong> 7459<br /><strong>Posted:</strong> 27 June 2007 at 1:51am<br /><br /><img src="https://forum.codejock.com/smileys/smiley9.gif" border="0">always trouble you,thanks]]>
   </description>
   <pubDate>Wed, 27 Jun 2007 01:51:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7459&amp;PID=23974&amp;title=about-sample-dynamicpopup#23974</guid>
  </item> 
  <item>
   <title><![CDATA[About sample &quot;DynamicPopup&quot; : Hi,  OnCreateControl is sent...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7459&amp;PID=23969&amp;title=about-sample-dynamicpopup#23969</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7459<br /><strong>Posted:</strong> 27 June 2007 at 12:43am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>OnCreateControl is sent only to main site of CommandBars - CMainFrame.</DIV>]]>
   </description>
   <pubDate>Wed, 27 Jun 2007 00:43:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7459&amp;PID=23969&amp;title=about-sample-dynamicpopup#23969</guid>
  </item> 
  <item>
   <title><![CDATA[About sample &quot;DynamicPopup&quot; : I simulate sample &amp;#034;DynamicPopup&amp;#034;.but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7459&amp;PID=23966&amp;title=about-sample-dynamicpopup#23966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3046">xxcln</a><br /><strong>Subject:</strong> 7459<br /><strong>Posted:</strong> 26 June 2007 at 8:47pm<br /><br />I simulate sample "DynamicPopup".but have problem in function OnCreateControl.<DIV>&nbsp;</DIV><DIV>int CChildFrame::OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl)<BR>{<BR>&nbsp;if (lpCreateControl-&gt;nID == ID_COUNTER_SEARCH)<BR>&nbsp;{<BR>&nbsp;&nbsp;lpCreateControl-&gt;controlType = xtpControlSplitButtonPopup;<BR>&nbsp;&nbsp;return TRUE;<BR>&nbsp;}<BR>&nbsp;if (lpCreateControl-&gt;nID == ID_ROOMS_TYPE)<BR>&nbsp;{<BR>&nbsp;&nbsp;lpCreateControl-&gt;pControl = new CControlFavorites("select DISTINCT type_name from r_room");<BR>&nbsp;&nbsp;return TRUE;<BR>&nbsp;}</DIV><DIV>return FALSE;<BR>}</DIV><DIV>&nbsp;</DIV><DIV>I want to dynamic add subitem in menu,follow is detail about code:</DIV><DIV>"<strong>ID_COUNTER_SEARCH</strong>"<strong> </strong>is a button in toolbar also is a menu s' ID.</DIV><DIV>"<strong>ID_ROOMS_TYPE</strong>" is subitem of the menu ,the menu&nbsp;popup when "<strong>ID_COUNTER_SEARCH</strong>" is clicked.</DIV><DIV>But this code I don't why follow code not execute</DIV><DIV>if (lpCreateControl-&gt;nID == ID_ROOMS_TYPE)<BR>&nbsp;{<BR>&nbsp;&nbsp;lpCreateControl-&gt;pControl = new CControlFavorites("select DISTINCT type_name from r_room");<BR>&nbsp;&nbsp;return TRUE;<BR>&nbsp;}</DIV>]]>
   </description>
   <pubDate>Tue, 26 Jun 2007 20:47:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7459&amp;PID=23966&amp;title=about-sample-dynamicpopup#23966</guid>
  </item> 
 </channel>
</rss>