<?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 : Popup menu with Tray Ic&#111;n</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Popup menu with Tray Ic&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 01:11:37 +0000</pubDate>
  <lastBuildDate>Thu, 27 Oct 2005 07:09:35 +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=3103</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[Popup menu with Tray Ic&#111;n : Please check Notification and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3103&amp;PID=9270&amp;title=popup-menu-with-tray-icon#9270</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3103<br /><strong>Posted:</strong> 27 October 2005 at 7:09am<br /><br />Please check Notification and DynamicPopups samples]]>
   </description>
   <pubDate>Thu, 27 Oct 2005 07:09:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3103&amp;PID=9270&amp;title=popup-menu-with-tray-icon#9270</guid>
  </item> 
  <item>
   <title><![CDATA[Popup menu with Tray Ic&#111;n : Hey everyone,  I am very new...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3103&amp;PID=9257&amp;title=popup-menu-with-tray-icon#9257</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1568">fishy</a><br /><strong>Subject:</strong> 3103<br /><strong>Posted:</strong> 26 October 2005 at 5:28pm<br /><br />Hey everyone,<br><br>I am very new to the toolkit and I am fooling around with some thingsgetting ramped up for a product my company is working on.&nbsp; I amusing the CXTTrayIcon class as in the examples and callingCXTPCommandBars::TrackPopupMenu(CMenu*,..) to display the menuassociated with the tray icon.<br><br>In my application, I need the menu that pops up to be able to displaydynamic content.&nbsp; In previous MFC (non-codejock apps) this wassolved by using ON_UPDATE_COMMAND_UI combined withpCmdUI-&gt;m_pMenu-&gt;AppendMenu(..).&nbsp; Trying the same mechanismwith my codejock app results in a little different behavior.&nbsp; Inthe pure MFC app, the pCmdUI-&gt;m_pSubMenu and pCmdUI-&gt;m_pMenumembers were usable values in some cases (such as when i the updatemessage is passed on a submenu) but in the app with the tray icon, them_pSubMenu and m_pMenu are always NULL - so I can't use the sametechnique that I am used to.&nbsp; Interestingly enough, if i take outthe call to CXTPCommandBars::TrackPopupMenu(CMenu*,...) and use theCMenu object's TrackPopupMenu method directly, then none of myON_UPDATE_COMMAND_UI handlers are called at all.<br><br>My question is basically what is the best way to go about making asystem tray popup menu that contains dynamic content.&nbsp; I havetried using CXTPMenuBar, ON_UPDATE_COMMAND_UI, etc.. all withoutperfect results.&nbsp; I am sure there is a good way to do this I amjust not familiar enough with the toolkit yet.&nbsp; Suggestions??<br><br>- Fishy<br>]]>
   </description>
   <pubDate>Wed, 26 Oct 2005 17:28:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3103&amp;PID=9257&amp;title=popup-menu-with-tray-icon#9257</guid>
  </item> 
 </channel>
</rss>