<?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 : Split toolbar butt&#111;n behaviour</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Split toolbar butt&#111;n behaviour]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 05:22:49 +0000</pubDate>
  <lastBuildDate>Tue, 26 Apr 2005 13:24:28 +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=2148</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[Split toolbar butt&#111;n behaviour : See attached Sample 2005-04-26_132423_CustomizeDlg.zip...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2148&amp;PID=6387&amp;title=split-toolbar-button-behaviour#6387</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2148<br /><strong>Posted:</strong> 26 April 2005 at 1:24pm<br /><br /><P>See attached Sample&nbsp;&nbsp; <A href="http://forum.codejock.com/uploads/oleg/2005-04-26_132423_CustomizeDlg.zip" target="_blank">2005-04-26_132423_CustomizeDlg.zip</A></P>]]>
   </description>
   <pubDate>Tue, 26 Apr 2005 13:24:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2148&amp;PID=6387&amp;title=split-toolbar-button-behaviour#6387</guid>
  </item> 
  <item>
   <title><![CDATA[Split toolbar butt&#111;n behaviour : Thanks Oleg  I thought of Outlook&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2148&amp;PID=6384&amp;title=split-toolbar-button-behaviour#6384</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1133">etvorun</a><br /><strong>Subject:</strong> 2148<br /><strong>Posted:</strong> 26 April 2005 at 9:13am<br /><br /><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Thanks Oleg</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>I thought of Outlook's "New" button as an exception rather than a rule. A good exception. </FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Back to the problem. What would be a good place and time to call SetIconId. Obviously I cannot do it when processing ON_COMMAND as the command could have been triggered by a shortcut or a context menu. Overriding OnExecute in CXTPControl-derived classes (e.g. CXTPControlButton) also does not look like a good idea. This way I will end up overriding lost of classes due to the nature on CXTPControl creation framework (which is somewhat hard-coded; calls like CXTPControlButton::CreateObject do not leave space for flexibility).</FONT></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>&nbsp;</FONT></o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Can you recommend a solution?</FONT></P>]]>
   </description>
   <pubDate>Tue, 26 Apr 2005 09:13:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2148&amp;PID=6384&amp;title=split-toolbar-button-behaviour#6384</guid>
  </item> 
  <item>
   <title><![CDATA[Split toolbar butt&#111;n behaviour : It is designed behaviour. You...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2148&amp;PID=6371&amp;title=split-toolbar-button-behaviour#6371</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2148<br /><strong>Posted:</strong> 25 April 2005 at 11:16pm<br /><br /><P>It is designed behaviour. You must manually change it. For example "New" button of Outlook don't change self icon.</P><P>pControl-&gt;SetIconId.</P>]]>
   </description>
   <pubDate>Mon, 25 Apr 2005 23:16:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2148&amp;PID=6371&amp;title=split-toolbar-button-behaviour#6371</guid>
  </item> 
  <item>
   <title><![CDATA[Split toolbar butt&#111;n behaviour : There is something wrong with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2148&amp;PID=6347&amp;title=split-toolbar-button-behaviour#6347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1133">etvorun</a><br /><strong>Subject:</strong> 2148<br /><strong>Posted:</strong> 22 April 2005 at 9:18am<br /><br /><P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>There is something wrong with xtpControlSplitButtonPopup style toolbar buttons. When I select a button from drop-down choices I expect the selected button&nbsp;to replace the main button. For example check XT's Visual Studio 7 sample app, Class View button (on the right). Even if I select Output from the drop-down the main button stays Class View. Compare it with actual Visual Studio 2003. Also check any other MS applications with split toolbar buttons, e.g. Word, Excel.</FONT></P><span style="font-size:10px"><br /><br />Edited by etvorun</span>]]>
   </description>
   <pubDate>Fri, 22 Apr 2005 09:18:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2148&amp;PID=6347&amp;title=split-toolbar-button-behaviour#6347</guid>
  </item> 
 </channel>
</rss>