<?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 : CCheckListBox draws with mixed themes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : CCheckListBox draws with mixed themes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 17:32:28 +0000</pubDate>
  <lastBuildDate>Thu, 21 Aug 2025 12:28:45 +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=24596</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[CCheckListBox draws with mixed themes : I found that scrolling the view...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24596&amp;PID=79266&amp;title=cchecklistbox-draws-with-mixed-themes#79266</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24596<br /><strong>Posted:</strong> 21 August 2025 at 12:28pm<br /><br /><div>I found that scrolling the view resulted in OnHookDrawThemeBackground to bypass the skinning code because&nbsp;the DC has no hWnd associated with it and&nbsp;IsDCSkinned(hDC) returned FALSE. I have to apply the xtpSkinApplyDCs skin option before invoking the dialog. Unfortunately for me, that causes all windows to repaint when I apply it and also when I remove it. Apparently I never set that option when we start up because when I first worked with skins, it wasn't available. And we decided back then to not use CJ skinning as we were just experimenting with them.</div><div><br></div><div>Basically our app originally set the same options CJ does in the skin manager ctor and I used that to change the options to observe the skinning effects.</div><div><br></div><div>I also see a xtpSkinApplyCommandBarsFrame option is now available. But we skin the frame and CJ indicates the two are incompatible.</div>]]>
   </description>
   <pubDate>Thu, 21 Aug 2025 12:28:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24596&amp;PID=79266&amp;title=cchecklistbox-draws-with-mixed-themes#79266</guid>
  </item> 
  <item>
   <title><![CDATA[CCheckListBox draws with mixed themes : Here is an image of the dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24596&amp;PID=79265&amp;title=cchecklistbox-draws-with-mixed-themes#79265</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24596<br /><strong>Posted:</strong> 21 August 2025 at 10:00am<br /><br /><div>Here is an image of the dialog when first launched and then right after I scroll the mouse wheel.</div><div><br></div><div><img src="uploads/3213/NoScrollAndScrolled..png" height="347" width="879" border="0" /><br></div>]]>
   </description>
   <pubDate>Thu, 21 Aug 2025 10:00:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24596&amp;PID=79265&amp;title=cchecklistbox-draws-with-mixed-themes#79265</guid>
  </item> 
  <item>
   <title><![CDATA[CCheckListBox draws with mixed themes : When we apply our skin and display...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24596&amp;PID=79264&amp;title=cchecklistbox-draws-with-mixed-themes#79264</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24596<br /><strong>Posted:</strong> 21 August 2025 at 9:52am<br /><br /><div>When we apply our skin and display a CDialog that has a CCheckListBox in it we initially see the skin applied to all the items in the list box. But scroll the mouse wheel and the items draw incorrectly. The items draw using the system theme. Checking and unchecking items result in them redrawing using the skin. I thought CJ skinning was categorized as Visual C++ MFC meaning it works well with MFC. CCheckListBox is a MFC class but it does do custom drawing. In the image I am going to (try) and paste here one can see our theme background and the theme text color. But the "View 1" checked box is drawn using the system theme. "Front" is not checked and is using the system theme. "Back" is checked and uses the skin (yes the check box is quite pixelized as we wait and hope for SVG support for check/radio button). The other white boxes are system themed. "Dimetric" is unchecked and using our skin. I got this image by launching the dialog and then checking elements. Then I scrolled. After that I unchecked and checked "Back" and then unchecked "Dimetric".</div><div><br></div><div>How do I address this issue?</div><div><br></div><div><img src="uploads/3213/CCheckListBox.png" height="1809" width="3337" border="0" /><br></div>]]>
   </description>
   <pubDate>Thu, 21 Aug 2025 09:52:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24596&amp;PID=79264&amp;title=cchecklistbox-draws-with-mixed-themes#79264</guid>
  </item> 
 </channel>
</rss>