<?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 : Toolbar and Tearoff toolbars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Toolbar and Tearoff toolbars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 20:03:17 +0000</pubDate>
  <lastBuildDate>Fri, 14 May 2004 10:43:32 +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=727</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[Toolbar and Tearoff toolbars : Thanks it worked great. Although...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=727&amp;PID=1953&amp;title=toolbar-and-tearoff-toolbars#1953</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=504">AliRafiee</a><br /><strong>Subject:</strong> 727<br /><strong>Posted:</strong> 14 May 2004 at 10:43am<br /><br /><P>Thanks it worked great.&nbsp;<IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></P><P>Although I had to change the code a little .&nbsp;&nbsp;<IMG src="http://forum.codejock.com/smileys/smiley5.gif" border="0">&nbsp;When I actually clicked on the toolbar icon itself the FromUI method returned&nbsp;a NULL so I had to check for a NULL control pointer before SetIconId!?</P><P>Is that what should happen?</P><P>Ali Rafiee</P>]]>
   </description>
   <pubDate>Fri, 14 May 2004 10:43:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=727&amp;PID=1953&amp;title=toolbar-and-tearoff-toolbars#1953</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar and Tearoff toolbars :  ON_UPDATE_COMMAND_UI(ID_BDR_POPUP,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=727&amp;PID=1941&amp;title=toolbar-and-tearoff-toolbars#1941</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 727<br /><strong>Posted:</strong> 14 May 2004 at 12:09am<br /><br /><FONT color=#0000ff><P><FONT color=#a000a0>ON_UPDATE_COMMAND_UI</FONT>(<FONT color=#a000a0>ID_BDR_POPUP</FONT>, <FONT color=#808080>OnUpdateBorder</FONT>)</P><P>...</P><P>void</FONT> <FONT color=#0000ff>CMainFrame</FONT>::<FONT color=#880000>OnUpdateBorder</FONT>(<FONT color=#0000ff>CCmdUI</FONT>* <FONT color=#808080>pCmdUI</FONT>)</P><P>{</P><P><FONT color=#808080>pCmdUI</FONT>-&gt;<FONT color=#880000>Enable</FONT>();</P><P><FONT color=#0000ff>CXTPControl</FONT>* <FONT color=#808080>pControl</FONT> = <FONT color=#0000ff>CXTPControl</FONT>::<FONT color=#880000>FromUI</FONT>(<FONT color=#808080>pCmdUI</FONT>);</P><P><strong><FONT color=#808080>pControl</FONT>-&gt;<FONT color=#880000>SetIconId</FONT>(<FONT color=#808080>m_nCurrentTool</FONT>);</strong></P><P>}</P>]]>
   </description>
   <pubDate>Fri, 14 May 2004 00:09:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=727&amp;PID=1941&amp;title=toolbar-and-tearoff-toolbars#1941</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar and Tearoff toolbars : Hi everyone, I have a toolbar,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=727&amp;PID=1932&amp;title=toolbar-and-tearoff-toolbars#1932</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=504">AliRafiee</a><br /><strong>Subject:</strong> 727<br /><strong>Posted:</strong> 13 May 2004 at 1:48pm<br /><br /><P>Hi everyone,</P><P>I have a toolbar, and one of the items is a tearoff item, (once pressed it will display a tearoff toolbar). I am using that for drawing tools, and the tearoff has the different tools like, line, rect, arc, ellipse, and so on.&nbsp;</P><P>What I want to do is to change the icon in the main toolbar upon selection of one of the tools in the tearoff.&nbsp; So, if the user selects line from the tearoff toolbar, I want to display that line icon as the main toolbars item icon, and once they select rectangle, display the rectangle icon in its place.</P><P>Does any one know how to that?</P><P>&nbsp;</P><P>thanks in advance</P><P>Ali Rafiee</P>]]>
   </description>
   <pubDate>Thu, 13 May 2004 13:48:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=727&amp;PID=1932&amp;title=toolbar-and-tearoff-toolbars#1932</guid>
  </item> 
 </channel>
</rss>