<?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 : Crash on custom item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Crash on custom item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 16:46:34 +0000</pubDate>
  <lastBuildDate>Thu, 08 Mar 2007 01:11:40 +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=6588</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[Crash on custom item : I&amp;#039;ve inserted skin manager...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6588&amp;PID=21000&amp;title=crash-on-custom-item#21000</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=66">zaksoft</a><br /><strong>Subject:</strong> 6588<br /><strong>Posted:</strong> 08 March 2007 at 1:11am<br /><br />I've inserted skin manager (and only this - no other items from toolkit pro - linked statically) in an old app to give a fresh look, all features seem woorking as aspected except for 2 point<DIV>&nbsp;</DIV><DIV>1) I use a library from FarPoint ( calendar3, DPP32d30.DLL ) and when I use GetDlgItem(..)-&gt;ShowWindow( SW_SHOW) on the control (it's a dialog page with many tabs) the app crashes calling</DIV><DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2>if</FONT><FONT size=2> (</FONT><FONT color=#010001 size=2>CWnd</FONT><FONT size=2>::</FONT><FONT color=#010001 size=2>GrayCtlColor</FONT><FONT size=2>((</FONT><FONT color=#010001 size=2>HDC</FONT><FONT size=2>)</FONT><FONT color=#010001 size=2>wParam</FONT><FONT size=2>, (</FONT><FONT color=#010001 size=2>HWND</FONT><FONT size=2>)</FONT><FONT color=#010001 size=2>lParam</FONT><FONT size=2>, (</FONT><FONT color=#010001 size=2>UINT</FONT><FONT size=2>)(</FONT><FONT color=#010001 size=2>nMessage</FONT><FONT size=2> - </FONT><FONT color=#010001 size=2>WM_CTLCOLORMSGBOX</FONT><FONT size=2>),</FONT><FONT color=#010001 size=2>m_pManager</FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2>GetMetrics</FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2>m_brushDialog</FONT><FONT size=2>, 0))</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>in xtpskinobjectframe.cpp. Of course it works in W2K, XP, Vista if the skin manager is not activated or if the control is never shown. Any suggestion ?</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>2) I've seen that object created dinamically (ie using CreateEx( ...) at runtime are not skinned. Any hints?</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Version 1.42</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Thanxs</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 08 Mar 2007 01:11:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6588&amp;PID=21000&amp;title=crash-on-custom-item#21000</guid>
  </item> 
 </channel>
</rss>