<?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 : CXTPTabControl questions</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTabControl questions]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 03:51:05 +0000</pubDate>
  <lastBuildDate>Wed, 23 Aug 2006 15:00:14 +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=4866</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[CXTPTabControl questions : 1. Unfortnatelly SkinFramework...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4866&amp;PID=15153&amp;title=cxtptabcontrol-questions#15153</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4866<br /><strong>Posted:</strong> 23 August 2006 at 3:00pm<br /><br />1. Unfortnatelly SkinFramework don't support DrawThemeParentBackground, please try instead use standard WM_CTLCOLORSTATIC message:<DIV>&nbsp;</DIV><DIV><DIV></DIV><DIV></DIV><DIV></DIV>&nbsp;HBRUSH hBrush = (HBRUSH)GetParent()-&gt;SendMessage(WM_CTLCOLORSTATIC, (WPARAM)memDC.GetSafeHdc(), (LPARAM)m_hWnd);<BR>&nbsp;if (hBrush)<BR>&nbsp;{<BR>&nbsp;&nbsp;::FillRect(memDC.GetSafeHdc(), rc, hBrush);<BR>&nbsp;}<BR>&nbsp;else<BR>&nbsp;{<BR>&nbsp;&nbsp;memDC.FillSolidRect(rc, GetXtremeColor(COLOR_3DFACE));<BR>&nbsp;}<BR></DIV><DIV>&nbsp;</DIV><DIV>2. Thanks good idea. We changed it to:</DIV><DIV>&nbsp;</DIV><DIV>if (nItem == 0 &amp;&amp; m_pSelected == NULL)</DIV>]]>
   </description>
   <pubDate>Wed, 23 Aug 2006 15:00:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4866&amp;PID=15153&amp;title=cxtptabcontrol-questions#15153</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabControl questions :   When I use CXTPTabControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4866&amp;PID=15152&amp;title=cxtptabcontrol-questions#15152</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2277">SergeyS</a><br /><strong>Subject:</strong> 4866<br /><strong>Posted:</strong> 23 August 2006 at 2:11pm<br /><br /><p ="Ms&#111;normal">When I use CXTPTabControl inside of another CXTPTabControlin a themed application headers background does not look good. It's not themed.(See attachment). Is there any standard way to avoid this?</p><p ="Ms&#111;normal">To fix this I use CXTPWinThemeWrapper::DrawThemeParentBackgroundand it works well, but only if I don't use skins. After loading a skinCXTPSkinManagerApiHook::OnHookGetProcAddress cannot find DrawThemeParentBackground.I tested several other methods from UXTHEME.DLL andCXTPSkinManagerApiHook::OnHookGetProcAddress could not find any of them. (Thosemethods are not hooked in CXTPSkinManagerApiHook::InitializeHookManagement).</p><p ="Ms&#111;normal">Any thoughts on this?</p><p ="Ms&#111;normal"><o:p>&nbsp;</o:p></p><p ="Ms&#111;normal">Another question: </p><p ="Ms&#111;normal">CXTPTabControl::InsertItem has this code:<o:p></o:p></p><p ="Ms&#111;normal"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>if (nItem== 0)<o:p></o:p></p><p ="Ms&#111;normal"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{<o:p></o:p></p><p ="Ms&#111;normal"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>SetCurSel(0);<o:p></o:p></p><p ="Ms&#111;normal"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>}<o:p></o:p></p><p ="Ms&#111;normal">It does not work well if I want to just insert a new tab at0 position into existing control with another tab selected. Wouldn't it bebetter to check whether the control is empty or not? I had to override itbecause of that.</p><p ="Ms&#111;normal"><o:p>&nbsp;</o:p><br>I don’t have 10.3 yet so I don't if any of that was changed.</p><br><p ="Ms&#111;normal">Thank you,</p><p ="Ms&#111;normal">Sergey<br></p><br><br><a href="uploads/20060823_140813_CXTPTabC&#111;ntrol.rar" target="_blank">uploads/20060823_140813_CXTPTabControl.rar</a>]]>
   </description>
   <pubDate>Wed, 23 Aug 2006 14:11:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4866&amp;PID=15152&amp;title=cxtptabcontrol-questions#15152</guid>
  </item> 
 </channel>
</rss>