<?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 : How to diaplay a popup menu?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How to diaplay a popup menu?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 11:28:30 +0000</pubDate>
  <lastBuildDate>Wed, 15 Dec 2004 22:12: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=1464</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[How to diaplay a popup menu? : Thank you very much. I finished...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4389&amp;title=how-to-diaplay-a-popup-menu#4389</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=478">freehawk</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 15 December 2004 at 10:12pm<br /><br /><P>Thank you very much.</P><P>I finished it.</P><P>-Freehawk</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />WindowFromPoint&nbsp;, ChildWindowFromPoint&nbsp;</td></tr></table> </P>]]>
   </description>
   <pubDate>Wed, 15 Dec 2004 22:12:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4389&amp;title=how-to-diaplay-a-popup-menu#4389</guid>
  </item> 
  <item>
   <title><![CDATA[How to diaplay a popup menu? : I tryed it, but I cannot know...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4381&amp;title=how-to-diaplay-a-popup-menu#4381</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=478">freehawk</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 15 December 2004 at 1:52am<br /><br /><P>I tryed it, but I cannot know the place right-clicked.</P><P>Could you give me a sample to realize it? It was big trouble to me for a long time.</P><P>Thanks.</P><P>-Freehawk</P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by freehawk" alt="Originally posted by freehawk" style="vertical-align: text-bottom;" /> <strong>freehawk wrote:</strong><br /><br /><P>Thank you very much.</P><P>I will try it.</P><P>BTW, Could you give me a sample to realize it? It was big trouble to me for a long time.</P><P>-Freehawk</P><P>&nbsp;</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />WindowFromPoint&nbsp;, ChildWindowFromPoint&nbsp;</td></tr></table> </P></td></tr></table> ]]>
   </description>
   <pubDate>Wed, 15 Dec 2004 01:52:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4381&amp;title=how-to-diaplay-a-popup-menu#4381</guid>
  </item> 
  <item>
   <title><![CDATA[How to diaplay a popup menu? : Thank you very much. I will try...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4321&amp;title=how-to-diaplay-a-popup-menu#4321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=478">freehawk</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 07 December 2004 at 7:37pm<br /><br /><P>Thank you very much.</P><P>I will try it.</P><P>BTW, Could you give me a sample to realize it? It was big trouble to me for a long time.</P><P>-Freehawk</P><P>&nbsp;</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />WindowFromPoint&nbsp;, ChildWindowFromPoint&nbsp;</td></tr></table> </P>]]>
   </description>
   <pubDate>Tue, 07 Dec 2004 19:37:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4321&amp;title=how-to-diaplay-a-popup-menu#4321</guid>
  </item> 
  <item>
   <title><![CDATA[How to diaplay a popup menu? : WindowFromPoint, ChildWindowFromPoint...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4302&amp;title=how-to-diaplay-a-popup-menu#4302</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 07 December 2004 at 5:30am<br /><br />WindowFromPoint&nbsp;, ChildWindowFromPoint&nbsp; ]]>
   </description>
   <pubDate>Tue, 07 Dec 2004 05:30:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4302&amp;title=how-to-diaplay-a-popup-menu#4302</guid>
  </item> 
  <item>
   <title><![CDATA[How to diaplay a popup menu? : Thank you. How to do as &amp;#034;using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4301&amp;title=how-to-diaplay-a-popup-menu#4301</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=478">freehawk</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 07 December 2004 at 2:26am<br /><br /><P>Thank you.</P><P>How to do as "using point parameter you can find toolbar under this point" ?</P><P>use HitTest?</P><P>-Freehawk</P><P>&nbsp;</P><P>&nbsp;</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /></P><P>1. Override CXTPCommandBars::ContextMenu as</P><P>void CMyCommandBars::ContextMenu(CPoint point)<BR>{<BR>&nbsp;if (IsCustomizeMode())<BR>&nbsp;&nbsp;return;</P><P>&nbsp;CXTPPopupBar* pPopup = GetToolbarsPopup();<BR>&nbsp;<BR>&nbsp;if (pPopup-&gt;GetControls()-&gt;GetCount() &gt; 0)<BR>&nbsp;{<BR>&nbsp;&nbsp;pPopup-&gt;m_popupFlags = GetSite()-&gt;GetExStyle() &amp; WS_EX_LAYOUTRTL? xtpPopupLeft: xtpPopupRight;<BR>&nbsp;<BR>&nbsp;&nbsp;pPopup-&gt;Popup(point.x, point.y, NULL);</P><P>&nbsp;&nbsp;while ( pPopup-&gt;IsTrackingMode() )<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;AfxGetThread()-&gt;PumpMessage();<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;pPopup-&gt;InternalRelease();<BR>}</P><P>&nbsp;</P><P>using point parameter you can find toolbar under this point</P></td></tr></table> ]]>
   </description>
   <pubDate>Tue, 07 Dec 2004 02:26:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4301&amp;title=how-to-diaplay-a-popup-menu#4301</guid>
  </item> 
  <item>
   <title><![CDATA[How to diaplay a popup menu? : 1. Override CXTPCommandBars::ContextMenu...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4298&amp;title=how-to-diaplay-a-popup-menu#4298</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 07 December 2004 at 1:11am<br /><br /><P>1. Override CXTPCommandBars::ContextMenu as</P><P>void CMyCommandBars::ContextMenu(CPoint point)<BR>{<BR>&nbsp;if (IsCustomizeMode())<BR>&nbsp;&nbsp;return;</P><P>&nbsp;CXTPPopupBar* pPopup = GetToolbarsPopup();<BR>&nbsp;<BR>&nbsp;if (pPopup-&gt;GetControls()-&gt;GetCount() &gt; 0)<BR>&nbsp;{<BR>&nbsp;&nbsp;pPopup-&gt;m_popupFlags = GetSite()-&gt;GetExStyle() &amp; WS_EX_LAYOUTRTL? xtpPopupLeft: xtpPopupRight;<BR>&nbsp;<BR>&nbsp;&nbsp;pPopup-&gt;Popup(point.x, point.y, NULL);</P><P>&nbsp;&nbsp;while ( pPopup-&gt;IsTrackingMode() )<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;AfxGetThread()-&gt;PumpMessage();<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;pPopup-&gt;InternalRelease();<BR>}</P><P>&nbsp;</P><P>using point parameter you can find toolbar under this point</P>]]>
   </description>
   <pubDate>Tue, 07 Dec 2004 01:11:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4298&amp;title=how-to-diaplay-a-popup-menu#4298</guid>
  </item> 
  <item>
   <title><![CDATA[How to diaplay a popup menu? : Thank you for the reply. About...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4295&amp;title=how-to-diaplay-a-popup-menu#4295</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=478">freehawk</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 06 December 2004 at 7:34pm<br /><br /><P>Thank you for the reply.</P><P>About "1", is there any way to realize it?</P><P>-Freehawk</P><P>&nbsp;</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /></P><P>1. No, you can't</P><P>2. Call pPopupBar-&gt;GetControls()-&gt;RemoveAll();</P></td></tr></table> ]]>
   </description>
   <pubDate>Mon, 06 Dec 2004 19:34:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4295&amp;title=how-to-diaplay-a-popup-menu#4295</guid>
  </item> 
  <item>
   <title><![CDATA[How to diaplay a popup menu? : 1. No, you can&amp;#039;t 2. Call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4264&amp;title=how-to-diaplay-a-popup-menu#4264</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 06 December 2004 at 7:16am<br /><br /><P>1. No, you can't</P><P>2. Call pPopupBar-&gt;GetControls()-&gt;RemoveAll();</P>]]>
   </description>
   <pubDate>Mon, 06 Dec 2004 07:16:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4264&amp;title=how-to-diaplay-a-popup-menu#4264</guid>
  </item> 
  <item>
   <title><![CDATA[How to diaplay a popup menu? : Thank you very very much. Now...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4244&amp;title=how-to-diaplay-a-popup-menu#4244</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=478">freehawk</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 02 December 2004 at 7:59pm<br /><br /><P>Thank you very very much.</P><P>Now I have several questions .</P><P>1.With this way, can I judge the place where right-click button is clicked and display different popupmenu?</P><P>example: When right-clicked toolbar1, I display popupmenu1. and when right-clicked toolbar2, I will display popupmenu2.</P><P>2.I hope to display my popup menu only, not want to display "Customize", "Standard".. menu items in the popupmenu, How to realize it?</P><P>-Freehawk&nbsp;</P><P>&nbsp;</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><A href="https://forum.codejock.com/uploads/oleg/2004-12-02_025755_ps2.zip" target="_blank">2004-12-02_025755_ps2.zip</A></td></tr></table> </P>]]>
   </description>
   <pubDate>Thu, 02 Dec 2004 19:59:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4244&amp;title=how-to-diaplay-a-popup-menu#4244</guid>
  </item> 
  <item>
   <title><![CDATA[How to diaplay a popup menu? : 2004-12-02_025755_ps2.zip ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4232&amp;title=how-to-diaplay-a-popup-menu#4232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1464<br /><strong>Posted:</strong> 02 December 2004 at 2:57am<br /><br /><A href="https://forum.codejock.com/uploads/oleg/2004-12-02_025755_ps2.zip" target="_blank">2004-12-02_025755_ps2.zip</A>]]>
   </description>
   <pubDate>Thu, 02 Dec 2004 02:57:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1464&amp;PID=4232&amp;title=how-to-diaplay-a-popup-menu#4232</guid>
  </item> 
 </channel>
</rss>