<?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 : Customizati&#111;n and &#069;mbedded C&#111;ntrols</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Customizati&#111;n and &#069;mbedded C&#111;ntrols]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 10:07:46 +0000</pubDate>
  <lastBuildDate>Wed, 27 Aug 2003 23:57:55 +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=139</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[Customizati&#111;n and &#069;mbedded C&#111;ntrols : All features you asked added....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=303&amp;title=customization-and-embedded-controls#303</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 139<br /><strong>Posted:</strong> 27 August 2003 at 11:57pm<br /><br /><P>All features you asked added. Next release will be in the mid of september.</P><P>4. Sorry, to disable docking but not to change wrapping behaviour call</P><P><FONT color=#808080>pToolBar</FONT>-&gt;<FONT color=#880000>EnableDocking</FONT>(xtpHideWrap); </P><P>and </P><P><FONT color=#808080>pMenulBar</FONT>-&gt;<FONT color=#880000>EnableDocking</FONT>(xtpFlagStretched);&nbsp; to disable docking menu bar.</P>]]>
   </description>
   <pubDate>Wed, 27 Aug 2003 23:57:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=303&amp;title=customization-and-embedded-controls#303</guid>
  </item> 
  <item>
   <title><![CDATA[Customizati&#111;n and &#069;mbedded C&#111;ntrols : Thanks for your prompt responses...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=295&amp;title=customization-and-embedded-controls#295</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=146">erichf</a><br /><strong>Subject:</strong> 139<br /><strong>Posted:</strong> 21 August 2003 at 4:43pm<br /><br /><P>Thanks for your prompt responses Oleg,</P><P>Some comments:</P><P>1. I will add the flag to manipulate this behavior.</P><P>&gt;&gt;Thank you.</P><P>&nbsp;</P><P>2.The next release will contain samples of it.</P><P>&gt;&gt;When will the next release be out approximately?</P><P>&nbsp;</P><P>3. You can create custom theme derived from <FONT color=#0000ff><FONT color=black>CXTPNativeXPTheme.</FONT></FONT></P><P>&gt;&gt;Thanks for the code sample, I'll work with it.</P><P>&nbsp;</P><P><FONT color=#0000ff><FONT color=#000000>4. <FONT color=#808080>pToolBar</FONT>-&gt;<FONT color=#880000>EnableDocking</FONT>(0); doesn't work?</FONT></FONT></P><P><FONT color=#0000ff><FONT color=#000000>&gt;&gt;I was looking at the wrong method (EnableDocking on CXTPCommandBars which has no arguments).&nbsp; I did notice, though, that once I disabled docking that xtpFlagStretched was ignored and&nbsp;the chevrons didn't appear when I shrunk the frame (it just shifts the entire toolbar down).&nbsp; It seems to&nbsp;me that the docking behaviour shouldn't affect the chevrons or stretching.&nbsp; Is this by design?</FONT></FONT></P><P>&nbsp;</P><P>You've done some great work here, I'm looking forward to the next release...</P><P>&nbsp;</P><P>-Erich</P><P><FONT color=#0000ff><FONT color=#000000><FONT size=2>&nbsp;</P></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 21 Aug 2003 16:43:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=295&amp;title=customization-and-embedded-controls#295</guid>
  </item> 
  <item>
   <title><![CDATA[Customizati&#111;n and &#069;mbedded C&#111;ntrols : here custom theme: class CNativeThemeEx...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=294&amp;title=customization-and-embedded-controls#294</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 139<br /><strong>Posted:</strong> 21 August 2003 at 8:58am<br /><br /><P>here custom theme:</P><FONT color=#0000ff><P>class</FONT> <FONT color=#0000ff>CNativeThemeEx</FONT> : <FONT color=#0000ff>public</FONT> <FONT color=#0000ff>CXTPNativeXPTheme</P></FONT><P>{</P><FONT color=#0000ff><P dir=ltr>protected</FONT>:</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><FONT color=#0000ff>CSize</FONT> <FONT color=#880000>DrawControlToolBarParent</FONT>(<FONT color=#0000ff>CDC</FONT>* <FONT color=#808080>pDC</FONT>, <FONT color=#0000ff>CXTPControl</FONT>* <FONT color=#808080>pButton</FONT>, <FONT color=#0000ff>BOOL</FONT> <FONT color=#808080>bDraw</FONT>)</P><P>{</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><FONT color=#0000ff>if</FONT> (!<FONT color=#808080>m_themeToolbar</FONT>.<FONT color=#880000>IsAppThemed</FONT>())</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><FONT color=#0000ff>return</FONT> <FONT color=#0000ff>CXTPNativeXPTheme</FONT>::<FONT color=#880000>DrawControlToolBarParent</FONT>(<FONT color=#808080>pDC</FONT>, <FONT color=#808080>pButton</FONT>, <FONT color=#808080>bDraw</FONT>);</P></BLOCKQUOTE><P></P><P><FONT color=#0000ff>if</FONT> (<FONT color=#808080>pButton</FONT>-&gt;<FONT color=#880000>GetType</FONT>() != <FONT color=#a000a0>xtpControlButtonPopup</FONT>)</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><FONT color=#0000ff>return</FONT> <FONT color=#0000ff>CXTPNativeXPTheme</FONT>::<FONT color=#880000>DrawControlToolBarParent</FONT>(<FONT color=#808080>pDC</FONT>, <FONT color=#808080>pButton</FONT>, <FONT color=#808080>bDraw</FONT>);</P></BLOCKQUOTE><P></P><P><FONT color=#0000ff>CSize</FONT> <FONT color=#808080>sz</FONT> = <FONT color=#0000ff>CXTPNativeXPTheme</FONT>::<FONT color=#880000>DrawControlToolBarParent</FONT>(<FONT color=#808080>pDC</FONT>, <FONT color=#808080>pButton</FONT>, <FONT color=#808080>bDraw</FONT>);</P><P></P><P><FONT color=#0000ff>if</FONT> (<FONT color=#808080>bDraw</FONT>)</P><P>{ </P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><FONT color=#0000ff>CRect</FONT> <FONT color=#808080>rcButton</FONT> = <FONT color=#808080>pButton</FONT>-&gt;<FONT color=#880000>GetRect</FONT>(); </P><P><FONT color=#0000ff>CPoint</FONT> <FONT color=#808080>pt</FONT> = <FONT color=#0000ff>CPoint</FONT>(<FONT color=#808080>rcButton</FONT>.<FONT color=#808080>right</FONT> - 7, <FONT color=#808080>rcButton</FONT>.<FONT color=#880000>CenterPoint</FONT>().<FONT color=#808080>y</FONT>); </P><P dir=ltr><FONT color=#880000>Triangle</FONT>(<FONT color=#808080>pDC</FONT>, <FONT color=#0000ff>CPoint</FONT>(<FONT color=#808080>pt</FONT>.<FONT color=#808080>x</FONT> - 2 , <FONT color=#808080>pt</FONT>.<FONT color=#808080>y</FONT> - 1), <FONT color=#0000ff>CPoint</FONT>(<FONT color=#808080>pt</FONT>.<FONT color=#808080>x</FONT> + 2, <FONT color=#808080>pt</FONT>.<FONT color=#808080>y</FONT> - 1), <FONT color=#0000ff>CPoint</FONT> (<FONT color=#808080>pt</FONT>.<FONT color=#808080>x</FONT>, <FONT color=#808080>pt</FONT>.<FONT color=#808080>y</FONT> + 1), <FONT color=#808080>pDC</FONT>-&gt;<FONT color=#880000>GetTextColor</FONT>());</P></BLOCKQUOTE><P dir=ltr>}</P><P></P><P><FONT color=#0000ff>return</FONT> <FONT color=#0000ff>CSize</FONT> (<FONT color=#808080>sz</FONT>.<FONT color=#808080>cx</FONT> + 7, <FONT color=#808080>sz</FONT>.<FONT color=#808080>cy</FONT>);</P></BLOCKQUOTE><P>}</P></BLOCKQUOTE><P>};</P><P>&nbsp;</P><P>&nbsp;</P><P>usage:</P><P>&nbsp;</P><FONT color=#0000ff><P>CXTPPaintManager</FONT>::<FONT color=#880000>SetCustomTheme</FONT>(<FONT color=#a000a0>new</FONT> <FONT color=#0000ff>CNativeThemeEx</FONT>);</P>]]>
   </description>
   <pubDate>Thu, 21 Aug 2003 08:58:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=294&amp;title=customization-and-embedded-controls#294</guid>
  </item> 
  <item>
   <title><![CDATA[Customizati&#111;n and &#069;mbedded C&#111;ntrols : 1. I will add the flag to manipulate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=293&amp;title=customization-and-embedded-controls#293</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 139<br /><strong>Posted:</strong> 21 August 2003 at 8:41am<br /><br /><P>1. I will add the flag to manipulate this behavior.</P><P>2.The next release will contain samples of it.</P><P>3. You can create custom theme derived from <FONT color=#0000ff><FONT color=black>CXTPNativeXPTheme.</FONT></FONT></P><P><FONT color=#0000ff><FONT color=#000000>4. <FONT color=#808080>pToolBar</FONT>-&gt;<FONT color=#880000>EnableDocking</FONT>(0); doesn't work?</P></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 21 Aug 2003 08:41:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=293&amp;title=customization-and-embedded-controls#293</guid>
  </item> 
  <item>
   <title><![CDATA[Customizati&#111;n and &#069;mbedded C&#111;ntrols : Howdy, I&amp;#039;d appreciate it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=288&amp;title=customization-and-embedded-controls#288</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=146">erichf</a><br /><strong>Subject:</strong> 139<br /><strong>Posted:</strong> 19 August 2003 at 9:27pm<br /><br /><P>Howdy,</P><P>I'd appreciate it if you could help out with a couple of questions.</P><P>1.&nbsp; I'm trying to tweak the toolbars for a particular behaviour, but don't seem to be getting the right combination (I figured it was in SetCustomizeMode or EnableCustomization, but haven't been successful).&nbsp; Basically, I'd like to hide the dropdown icon for toolbar customization altogether...at the same time, I don't want to disable the behaviour where chevrons are displayed when the toolbar is only partially available.</P><P>2.&nbsp; I am interested to know if I can embed standard MFC controls in the toolbar or just CXTPControl types?&nbsp; I wanted to embed CAnimateCtrl, but wasn't successful.</P><P>3.&nbsp; Your sample application that demonstrates XP themes doesn't appear to be showing the XP style drop-down.&nbsp; Is this something that can be fixed?</P><P>4.&nbsp; Finally, this might be a dumb question, but how do I disable Docking?&nbsp; I was expecting to be able to pass FALSE to EnableDocking, but don't see an alternative.</P><P>Thanks in advance for your assistance,</P><P>Erich</P>]]>
   </description>
   <pubDate>Tue, 19 Aug 2003 21:27:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=139&amp;PID=288&amp;title=customization-and-embedded-controls#288</guid>
  </item> 
 </channel>
</rss>