<?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 : tooltip on sysmenu icon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : tooltip on sysmenu icon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 12:39:00 +0000</pubDate>
  <lastBuildDate>Mon, 15 Nov 2010 11:19:17 +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=17555</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[tooltip on sysmenu icon : thanks, knew there must be a smarter...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17555&amp;PID=61400&amp;title=tooltip-on-sysmenu-icon#61400</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3492">GBrookman</a><br /><strong>Subject:</strong> 17555<br /><strong>Posted:</strong> 15 November 2010 at 11:19am<br /><br />thanks, knew there must be a smarter way :)<br><br>]]>
   </description>
   <pubDate>Mon, 15 Nov 2010 11:19:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17555&amp;PID=61400&amp;title=tooltip-on-sysmenu-icon#61400</guid>
  </item> 
  <item>
   <title><![CDATA[tooltip on sysmenu icon : Hi,I&amp;#039;d recommend set these...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17555&amp;PID=61391&amp;title=tooltip-on-sysmenu-icon#61391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17555<br /><strong>Posted:</strong> 15 November 2010 at 4:19am<br /><br />Hi,<div><br></div><div>I'd recommend set these parameters in moment you create Ribbon - just use GetSystemButton method to retrieve pointer to this button.</div>]]>
   </description>
   <pubDate>Mon, 15 Nov 2010 04:19:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17555&amp;PID=61391&amp;title=tooltip-on-sysmenu-icon#61391</guid>
  </item> 
  <item>
   <title><![CDATA[tooltip on sysmenu icon : I had a request to add a tooltip...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17555&amp;PID=61373&amp;title=tooltip-on-sysmenu-icon#61373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3492">GBrookman</a><br /><strong>Subject:</strong> 17555<br /><strong>Posted:</strong> 12 November 2010 at 6:25pm<br /><br />I had a request to add a tooltip to the sysmenu icon when in ribbon mode. This works but I suspect there's a better/smarter way:<br>LRESULT CMainFrame::OnControlSelected(WPARAM wParam, LPARAM lParam)<br>&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp; UNUSED_ALWAYS(lParam);<br>&nbsp;&nbsp;&nbsp;&nbsp; if ( CXTPControl* pControl = (CXTPControl*)wParam )<br>&nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if ( 0 == pControl-&gt;GetIconId() )<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pControl-&gt;SetIconId(XTP_ID_MENUBAR_SYSMENU);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pControl-&gt;SetTooltip(_T("MyApp Sysmenu"));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pControl-&gt;SetDescription(_T("Click here to open, save or print \nand see everything else you can do with MyApp"));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;}<br><br>&nbsp;&nbsp;&nbsp;&nbsp; return 0;<br>&nbsp;}<br><br>I determined the zero icon ID empirically by debugging.<br><br>Thanks,<br>Gary<br>]]>
   </description>
   <pubDate>Fri, 12 Nov 2010 18:25:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17555&amp;PID=61373&amp;title=tooltip-on-sysmenu-icon#61373</guid>
  </item> 
 </channel>
</rss>