<?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 : How to make CXTHeaderCtr::DrawItem() be called?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : How to make CXTHeaderCtr::DrawItem() be called?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 21:56:22 +0000</pubDate>
  <lastBuildDate>Mon, 09 Jun 2008 19:32:58 +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=10925</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[How to make CXTHeaderCtr::DrawItem() be called? : I&amp;#039;ve solved it. Thanks. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36469&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36469</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4226">amzheng</a><br /><strong>Subject:</strong> 10925<br /><strong>Posted:</strong> 09 June 2008 at 7:32pm<br /><br />I've solved it. Thanks.]]>
   </description>
   <pubDate>Mon, 09 Jun 2008 19:32:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36469&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36469</guid>
  </item> 
  <item>
   <title><![CDATA[How to make CXTHeaderCtr::DrawItem() be called? : I made an overridefunction of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36468&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36468</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4226">amzheng</a><br /><strong>Subject:</strong> 10925<br /><strong>Posted:</strong> 09 June 2008 at 5:08pm<br /><br />I made an override&nbsp;function of CXTHeaderCtrlTheme::DrawHeader(), now it works fine. But there is a problem, when I right click on my header column, it always pop up a menu, it has "Sort Ascending", "Sort Descending" and "Alignment" with submenus, even if I did not create this menu.&nbsp;I want to get rid of this popup menu, and put my popup menu there, how can I get rid of this menu? Thanks in advance.<DIV></DIV>]]>
   </description>
   <pubDate>Mon, 09 Jun 2008 17:08:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36468&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36468</guid>
  </item> 
  <item>
   <title><![CDATA[How to make CXTHeaderCtr::DrawItem() be called? : I create a small program following...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36381&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36381</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4226">amzheng</a><br /><strong>Subject:</strong> 10925<br /><strong>Posted:</strong> 06 June 2008 at 7:00pm<br /><br />I create a small program following your idea. Yeah, override some draw function of CXTHeaderCtrlTheme make it works. Thanks a lot, Oleg.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 06 Jun 2008 19:00:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36381&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36381</guid>
  </item> 
  <item>
   <title><![CDATA[How to make CXTHeaderCtr::DrawItem() be called? : Hello,  Its not called from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36339&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36339</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10925<br /><strong>Posted:</strong> 06 June 2008 at 1:15am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Its not called from CXTHeaderCtrl. to support custom themes CXTHeaderCtrl catch WM_PAINT and draw all header manually.</DIV><DIV>&nbsp;</DIV><DIV>See XTHeaderCtrlTheme.cpp file - you can derive from CXTHeaderCtrlTheme and override some methods.</DIV>]]>
   </description>
   <pubDate>Fri, 06 Jun 2008 01:15:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36339&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36339</guid>
  </item> 
  <item>
   <title><![CDATA[How to make CXTHeaderCtr::DrawItem() be called? : I have a class derived from MFC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36327&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36327</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4226">amzheng</a><br /><strong>Subject:</strong> 10925<br /><strong>Posted:</strong> 05 June 2008 at 1:22pm<br /><br /><P>I have a class derived from MFC class CHeaderCtrl with DrawItem() function overrided. <BR>I set its HDI_ITEM variable hdi.fmt = HDF_CENTER | HDF_STRING | HDF_OWNERDRAW; <BR>My DrawItem() function works before I changed to CXTHeaderCtrl.</P><P>Now I use CXTHeaderCtrl instead of CHeaderCtrl, and then my DrawItem() function is not being called anymore.<BR>Can anybody tell me that how I can make DrawItem() being called when using CXTHeaderCtrl? </P><P>Thanks in advance.</P>]]>
   </description>
   <pubDate>Thu, 05 Jun 2008 13:22:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10925&amp;PID=36327&amp;title=how-to-make-cxtheaderctrdrawitem-be-called#36327</guid>
  </item> 
 </channel>
</rss>