<?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 : Skin Framework and CHeaderCtrl problem?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Skin Framework and CHeaderCtrl problem?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 13:33:25 +0000</pubDate>
  <lastBuildDate>Thu, 01 May 2008 02:13:22 +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=10401</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[Skin Framework and CHeaderCtrl problem? : Hello,  It doesn&amp;#039;t related...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10401&amp;PID=34506&amp;title=skin-framework-and-cheaderctrl-problem#34506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10401<br /><strong>Posted:</strong> 01 May 2008 at 2:13am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>It doesn't related to SkinFramework. </DIV><DIV>&nbsp;</DIV><DIV>Problem that CXTHeaderCtrl doesn't implement DrawItem notification and you have HDF_OWNERDRAW flag for items.</DIV><DIV>&nbsp;</DIV><DIV>When you add items be sure you zero all field:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;HDITEM h;<BR>&nbsp;<strong>ZeroMemory(&amp;h, sizeof(h));</strong><BR>&nbsp;h.mask = HDI_TEXT;<BR>&nbsp;h.pszText = "Test";<BR>&nbsp;m_Header.InsertItem(0, &amp;h);<BR></DIV>]]>
   </description>
   <pubDate>Thu, 01 May 2008 02:13:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10401&amp;PID=34506&amp;title=skin-framework-and-cheaderctrl-problem#34506</guid>
  </item> 
  <item>
   <title><![CDATA[Skin Framework and CHeaderCtrl problem? :  Hi,today I attempted to use...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10401&amp;PID=34399&amp;title=skin-framework-and-cheaderctrl-problem#34399</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3104">MacW</a><br /><strong>Subject:</strong> 10401<br /><strong>Posted:</strong> 29 April 2008 at 11:05am<br /><br />Hi,<br><br>today I attempted to use a CXTPHeaderCtrl in a window inside a CXTPResizeDlg-derived dialog box. I create the header control (it is *NOT* associated with a List Control) as follows:<br><table width="99%"><tr><td><pre class="BBcode"><br>m_Header.Create(WS_CHILD | WS_VISIBLE | HDS_HORZ | HDS_DRAGDROP | HDS_FULLDRAG | HDS_HOTTRACK,CRect(0,0,0,0),this,ID_HEADER);<br>m_Header.InitializeHeader(FALSE);<br></pre></td></tr></table><br><br>I add a couple of colums. The header control displays OK, and things like column resizing etc. work fine.<br><br>But ss soon as I attempt to drag a column in the header with the mouse, I get strange asserts all over MFC. The call stack shows that the source of the problem seems to the the skin framework hooks. I have attached a call stack.<br><br><a href="uploads/20080429_110341_cs.zip" target="_blank">uploads/20080429_110341_cs.zip</a><br><br>This is a <b>dialog based</b> test application. Perhaps this is the reason? But other dialog boxes spawned by this app are skinned correctly, and other CJ controls work fine.<br>]]>
   </description>
   <pubDate>Tue, 29 Apr 2008 11:05:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10401&amp;PID=34399&amp;title=skin-framework-and-cheaderctrl-problem#34399</guid>
  </item> 
 </channel>
</rss>