<?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 : ChldFrm and SkineFramework</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : ChldFrm and SkineFramework]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 25 May 2026 13:10:43 +0000</pubDate>
  <lastBuildDate>Tue, 11 Jul 2006 13:05:09 +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=4416</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[ChldFrm and SkineFramework : Hi Oleg, Thank you.  I will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14111&amp;title=chldfrm-and-skineframework#14111</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=728">gwoin</a><br /><strong>Subject:</strong> 4416<br /><strong>Posted:</strong> 11 July 2006 at 1:05pm<br /><br /><P>Hi Oleg,</P><DIV>Thank you.</DIV><DIV>&nbsp;</DIV><DIV>I will try by commenting this line.</DIV><DIV>&nbsp;</DIV><DIV>&#091;Edit: &#093; It works, thank you Oleg <IMG height=17 alt=Smile src="https://forum.codejock.com/smileys/smiley1.gif" width=17 align=absMiddle border="0">&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 11 Jul 2006 13:05:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14111&amp;title=chldfrm-and-skineframework#14111</guid>
  </item> 
  <item>
   <title><![CDATA[ChldFrm and SkineFramework : Hello, I guess in beginning of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14110&amp;title=chldfrm-and-skineframework#14110</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4416<br /><strong>Posted:</strong> 11 July 2006 at 12:52pm<br /><br /><DIV>Hello,</DIV><DIV>I guess in beginning of August.... </DIV><DIV>&nbsp;</DIV><DIV>You can play now with source code. in </DIV><DIV>&nbsp;</DIV><DIV>CXTPSkinObjectFrame::IsDefWindowProcAvail</DIV><DIV>&nbsp;</DIV><DIV>comment "if (HasCaption()) return FALSE;"<BR></DIV><DIV>and non client messages will be send.</DIV>]]>
   </description>
   <pubDate>Tue, 11 Jul 2006 12:52:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14110&amp;title=chldfrm-and-skineframework#14110</guid>
  </item> 
  <item>
   <title><![CDATA[ChldFrm and SkineFramework :   oleg wrote: Hello,  Yes,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14109&amp;title=chldfrm-and-skineframework#14109</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=728">gwoin</a><br /><strong>Subject:</strong> 4416<br /><strong>Posted:</strong> 11 July 2006 at 10:20am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><DIV>Hello,</DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Yes, SkinFramework draw Non Client area and don't allow base methods to be called. As Workaround remove WS_CAPTION style.</FONT></DIV><DIV>&nbsp;</DIV><DIV>For next release we added ability to create custom CXTPSkinManager, catch events, create custom skin classes etc.</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Thank you Oleg.</DIV><DIV>&nbsp;</DIV><DIV>Too bad for the Childframe...</DIV><DIV>Could you tell when the next version should be released?</DIV><DIV>I hope that the transfer between my actual code and the next release will be easy :)</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 11 Jul 2006 10:20:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14109&amp;title=chldfrm-and-skineframework#14109</guid>
  </item> 
  <item>
   <title><![CDATA[ChldFrm and SkineFramework : Hello,  Yes, SkinFramework draw...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14108&amp;title=chldfrm-and-skineframework#14108</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4416<br /><strong>Posted:</strong> 11 July 2006 at 10:02am<br /><br /><DIV>Hello,</DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Yes, SkinFramework draw Non Client area and don't allow base methods to be called. As Workaround remove WS_CAPTION style.</FONT></DIV><DIV>&nbsp;</DIV><DIV>For next release we added ability to create custom CXTPSkinManager, catch events, create custom skin classes etc.</DIV>]]>
   </description>
   <pubDate>Tue, 11 Jul 2006 10:02:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14108&amp;title=chldfrm-and-skineframework#14108</guid>
  </item> 
  <item>
   <title><![CDATA[ChldFrm and SkineFramework : My MDI application has an only...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14103&amp;title=chldfrm-and-skineframework#14103</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=728">gwoin</a><br /><strong>Subject:</strong> 4416<br /><strong>Posted:</strong> 11 July 2006 at 4:08am<br /><br /><P>My MDI application has an only one childframe.</P><DIV>I have customized the caption bar of this child in order to add some user informations and menus.</DIV><DIV>&nbsp;</DIV><DIV>My code is very simple : </DIV><DIV>The<FONT color=#000080 size=2> CChildFrame <FONT color=#000000>class is inherited from </FONT><FONT color=#000080 size=2>CXTP</FONT><FONT color=#000080 size=2>FrameWndBase</FONT><B><FONT color=#808000 size=2>&lt;</B></FONT><FONT color=#000080 size=2>CMDIChildWnd</FONT><FONT color=#808000 size=2><strong>&gt; </strong><FONT color=#000000>and overload some functions:</FONT></FONT></FONT></DIV><DIV><FONT color=#800080 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#800080 size=2>class</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>CChildFrame</FONT><FONT size=2> </FONT><B><FONT color=#808000 size=2>:</B></FONT><FONT size=2> </FONT><FONT color=#800080 size=2>public</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>CXTPFrameWndBase</FONT><B><FONT color=#808000 size=2>&lt;</B></FONT><FONT color=#000080 size=2>CMDIChildWnd</FONT><B><FONT color=#808000 size=2>&gt;</DIV><DIV><DIV></B></FONT><B><FONT color=#808000 size=2>{</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#000080 size=2><FONT color=#ff9900>&nbsp;&nbsp;&nbsp; </FONT>DECLARE_DYNCREATE</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>CChildFrame</FONT><B><FONT color=#808000 size=2>)</FONT></B></DIV><DIV><FONT color=#800080 size=2>public</FONT><B><FONT color=#808000 size=2>:</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#000080 size=2><FONT color=#ff9900>&nbsp;&nbsp;&nbsp; </FONT>CChildFrame</FONT><B><FONT color=#808000 size=2>();</FONT></B></DIV><DIV><FONT color=#808080 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#800080 size=2>public</FONT><B><FONT color=#808000 size=2>:</FONT></B></DIV><DIV><FONT color=#808080 size=2>// ClassWizard generated virtual function overrides</FONT></DIV><DIV><FONT color=#808080 size=2>//{{AFX_VIRTUAL(CChildFrame)</FONT></DIV><DIV><FONT color=#800080 size=2><FONT color=#ff9900>&nbsp;&nbsp;&nbsp; </FONT>virtual</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>BOOL</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>PreCreateWindow</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>CREATESTRUCT</FONT><B><FONT color=#808000 size=2>&amp;</B></FONT><FONT size=2> </FONT><FONT color=#000080 size=2>cs</FONT><B><FONT color=#808000 size=2>);</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#808080 size=2>//}}AFX_VIRTUAL</FONT></DIV><DIV><FONT color=#808080 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#808080 size=2><FONT color=#ff9900>&nbsp;&nbsp;&nbsp; </FONT>&#091;...&#093;</FONT></DIV><DIV><FONT color=#808080 size=2><FONT color=#ff9900>&nbsp;&nbsp;&nbsp; </FONT>//my variables and functions</FONT></DIV><DIV><FONT color=#808080 size=2><FONT color=#ff9900>&nbsp;&nbsp;&nbsp; </FONT>&#091;...&#093;</FONT></DIV><DIV><FONT color=#808080 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#808080 size=2>// Implementation</FONT></DIV><DIV><FONT color=#800080 size=2>public</FONT><B><FONT color=#808000 size=2>:</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#800080 size=2><FONT color=#ff9900>&nbsp;&nbsp;&nbsp; </FONT>virtual</FONT><FONT size=2> </FONT><B><FONT color=#808000 size=2>~</B></FONT><FONT color=#000080 size=2>CChildFrame</FONT><B><FONT color=#808000 size=2>();</DIV></B></FONT></DIV><DIV><FONT size=2><FONT color=#800080 size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT color=#800080 size=2><FONT color=#ff9900>&nbsp;&nbsp;&nbsp; </FONT>int</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>GetSysButtonsh*tTest</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>CPoint</FONT><FONT size=2> </FONT><FONT color=#990000 size=2><strong>point</strong></FONT><FONT color=#808000 size=2><strong>);</strong></DIV><DIV><DIV></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>int</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnCreate</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>LPCREATESTRUCT</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>lpCreateStruct</FONT><FONT color=#808000 size=2>);</FONT></strong></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnNcPaint</FONT><B><FONT color=#808000 size=2>();</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnNcCalcSize</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>BOOL</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>bCalcValidRects</FONT><FONT color=#808000 size=2>,</FONT></strong><FONT size=2> </FONT><FONT color=#000080 size=2>NCCALCSIZE_PARAMS</FONT><FONT size=2> </FONT><FONT color=#ff9900 size=2>FAR</FONT><B><FONT color=#808000 size=2>*</B></FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>lpncsp</FONT><FONT color=#808000 size=2>);</FONT></strong></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>LRESULT</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnNcHitTest</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>CPoint</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>point</FONT><FONT color=#808000 size=2>);</FONT></strong></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnNcLButtonDown</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>UINT</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>nHitTest</FONT><FONT color=#808000 size=2>,</FONT></strong><FONT size=2> </FONT><FONT color=#000080 size=2>CPoint</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>point</FONT><FONT color=#808000 size=2>);</FONT></strong></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnNcLButtonUp</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>UINT</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>nHitTest</FONT><FONT color=#808000 size=2>,</FONT></strong><FONT size=2> </FONT><FONT color=#000080 size=2>CPoint</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>point</FONT><FONT color=#808000 size=2>);</FONT></strong></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnSize</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>UINT</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>nType</FONT><FONT color=#808000 size=2>,</FONT></strong><FONT size=2> </FONT><FONT color=#800080 size=2>int</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>cx</FONT><FONT color=#808000 size=2>,</FONT></strong><FONT size=2> </FONT><FONT color=#800080 size=2>int</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>cy</FONT><FONT color=#808000 size=2>);</FONT></strong></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnWindowPosChanging</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>WINDOWPOS</FONT><B><FONT color=#808000 size=2>*</B></FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>lpwndpos</FONT><FONT color=#808000 size=2>);</FONT></strong></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnLButtonUp</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>UINT</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>nFlags</FONT><FONT color=#808000 size=2>,</FONT></strong><FONT size=2> </FONT><FONT color=#000080 size=2>CPoint</FONT><FONT size=2> </FONT><strong><FONT color=#990000 size=2>point</FONT><FONT color=#808000 size=2>);</FONT></strong></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#ff9900 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#cc0000 size=2>OnCaptureChanged</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>CWnd</FONT><FONT size=2> </FONT><strong><FONT color=#808000 size=2>*</FONT><FONT color=#990000 size=2>pWnd</FONT><FONT color=#808000 size=2>);</FONT></strong></DIV><DIV><B><FONT color=#808000 size=2>};</FONT></B></DIV><DIV><B><FONT color=#808000 size=2>&nbsp;</DIV></B></FONT><DIV><FONT color=#000000 size=2>Then, in the ChildFrm.cpp:</FONT></DIV><DIV><B><FONT color=#808000 size=2><FONT color=#000080 size=2></FONT></FONT></B>&nbsp;</DIV><DIV><FONT color=#808000 size=2><FONT color=#000080 size=2>BOOL</FONT><FONT color=#000000 size=2> </FONT><FONT color=#000080 size=2>CChildFrame</FONT><FONT color=#808000 size=2>::</FONT><FONT color=#cc0000 size=2>PreCreateWindow</FONT><FONT color=#808000 size=2>(</FONT><FONT color=#000080 size=2>CREATESTRUCT</FONT><FONT color=#000000 size=2>&amp;</FONT><strong><FONT color=#000000 size=2> </FONT><FONT color=#000080 size=2>cs</FONT></strong><FONT color=#808000 size=2>)</FONT></FONT></DIV><DIV><B><FONT color=#808000 size=2><B><FONT color=#808000 size=2>{</FONT></B></FONT></B></DIV><DIV><FONT color=#808000 size=2><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; <strong><FONT color=#990000>cs</FONT></strong></FONT><FONT color=#808000 size=2>.</FONT><FONT color=#000080 size=2>style</FONT><FONT size=2> </FONT><FONT color=#808000 size=2>=</FONT><FONT size=2> </FONT><FONT color=#ff9900 size=2>WS_CHILDWINDOW</FONT><FONT color=#808000 size=2>;</FONT></FONT></DIV><DIV><FONT color=#808000 size=2><FONT color=#808000 size=2></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; <FONT color=#990000><strong>cs</strong></FONT></FONT><FONT color=#808000 size=2>.</FONT><FONT color=#000080 size=2>cy</FONT><FONT size=2> </FONT><FONT color=#808000 size=2>=</FONT><FONT size=2> </FONT><FONT color=#ff9900 size=2>WINDOW_HEIGHT</FONT><FONT color=#808000 size=2>; <FONT color=#999999>//set&nbsp;a fixed window size </FONT></FONT></FONT></DIV><DIV><FONT color=#808000 size=2><FONT color=#808000 size=2></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; <FONT color=#990000><strong>cs</strong></FONT></FONT><FONT color=#808000 size=2>.</FONT><FONT color=#000080 size=2>cx</FONT><FONT size=2> </FONT><FONT color=#808000 size=2>=</FONT><FONT size=2> </FONT><FONT color=#ff9900 size=2>WINDOW_WIDTH</FONT><FONT color=#808000 size=2>;</FONT></FONT></DIV><DIV><FONT color=#808000 size=2><FONT color=#808000 size=2></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; <FONT color=#990000><strong>cs</strong></FONT></FONT><FONT color=#808000 size=2>.</FONT><FONT color=#000080 size=2>y</FONT><FONT size=2> </FONT><FONT color=#808000 size=2>=</FONT><FONT size=2> </FONT><FONT color=#800000 size=2><strong>0</strong></FONT><FONT color=#808000 size=2>;</FONT></FONT></DIV><DIV><FONT color=#808000 size=2><FONT color=#808000 size=2></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; <strong><FONT color=#990000>cs</FONT></strong></FONT><FONT color=#808000 size=2>.</FONT><FONT color=#000080 size=2>x</FONT><FONT size=2> </FONT><FONT color=#808000 size=2>=</FONT><FONT size=2> </FONT><FONT color=#800000 size=2><strong>0</strong></FONT><FONT color=#808000 size=2>;</FONT></FONT></DIV><DIV><FONT color=#808000 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#808000 size=2><FONT color=#800080 size=2><FONT color=#000080>&nbsp;&nbsp;&nbsp; </FONT>return </FONT><FONT color=#808000 size=2>(</FONT><FONT color=#000080 size=2>CXTPFrameWndBase</FONT><FONT color=#808000 size=2>&lt;</FONT><FONT color=#000080 size=2>CMDIChildWnd</FONT><FONT color=#808000 size=2>&gt;::</FONT><FONT color=#cc0000 size=2>PreCreateWindow</FONT><FONT color=#808000 size=2>(</FONT><FONT color=#990000 size=2><strong>cs</strong></FONT><FONT color=#808000 size=2>)</FONT><FONT size=2> </FONT><FONT color=#808000 size=2>)</FONT><FONT color=#808000 size=2>;</DIV><DIV><DIV><strong>}</strong></DIV><DIV><FONT color=#000000>&#091;...&#093;</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>The child frame has the size that I set, so the function below is traversed by the application, but the others functions like <FONT color=#000080 size=2>OnNcPaint<FONT color=#000000>, </FONT><FONT color=#000080 size=2>OnNcCalcSize<FONT color=#000000>, </FONT><FONT color=#000080 size=2>OnNcHitTest<FONT color=#000000>, ... are never traversed anymore.</FONT></FONT></FONT></FONT></FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>In the myApp.cpp file, i just declar the doc Template as this:</FONT></DIV><DIV><FONT color=#000080 size=2><P>CMultiDocTemplate</FONT><B><FONT color=#808000 size=2>*</B></FONT><FONT color=#000000 size=2> </FONT><FONT color=#000080 size=2>pDocTemplate</FONT><B><FONT color=#808000 size=2>;</P><DIV></B></FONT><FONT color=#000080 size=2>pDocTemplate</FONT><FONT size=2> </FONT><B><FONT color=#808000 size=2>=</B></FONT><FONT size=2> </FONT><FONT color=#800080 size=2>new</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>CMultiDocTemplate</FONT><B><FONT color=#808000 size=2>(</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; IDR_GUI_WHTYPE</FONT><B><FONT color=#808000 size=2>,</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; RUNTIME_CLASS</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>CMatrisDoc</FONT><B><FONT color=#808000 size=2>),</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; RUNTIME_CLASS</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>CChildFrame</FONT><B><FONT color=#808000 size=2>),</B></FONT><FONT size=2> </FONT><FONT color=#808080 size=2>// custom MDI child frame</FONT></DIV><DIV><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; RUNTIME_CLASS</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>CMatrisView</FONT><B><FONT color=#808000 size=2>));</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></FONT></B>&nbsp;</DIV><DIV><B><FONT color=#808000 size=2></FONT></B>&nbsp;</DIV><DIV><FONT color=#000000 size=2>Any idea why the On NCpaint, ...,&nbsp; are not traversed anymore since XTP 10.2 ?</FONT></DIV><DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#808000 size=2><FONT color=#000000>Thank you.</FONT></DIV></FONT></DIV></FONT></DIV></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 11 Jul 2006 04:08:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14103&amp;title=chldfrm-and-skineframework#14103</guid>
  </item> 
  <item>
   <title><![CDATA[ChldFrm and SkineFramework : Hello, difficult to say without...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14092&amp;title=chldfrm-and-skineframework#14092</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4416<br /><strong>Posted:</strong> 10 July 2006 at 12:29pm<br /><br />Hello, difficult to say without information of code you use. May be you can attach some sample to show what you do?<DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>ps.&nbsp; Yeap, it is hedgehog&nbsp; in mist :)</DIV>]]>
   </description>
   <pubDate>Mon, 10 Jul 2006 12:29:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14092&amp;title=chldfrm-and-skineframework#14092</guid>
  </item> 
  <item>
   <title><![CDATA[ChldFrm and SkineFramework : I up a new post because the problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14086&amp;title=chldfrm-and-skineframework#14086</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=728">gwoin</a><br /><strong>Subject:</strong> 4416<br /><strong>Posted:</strong> 10 July 2006 at 10:04am<br /><br /><P>I up a new post because the problem is still there.</P><P>with XTPro 10.1 and earlier, I got this:</P><DIV><IMG src="http://www.wip&#111;n.fr/error_before.jpg" border="0"></DIV><DIV>&nbsp;</DIV><DIV>And now, since XTPro 10.2, I get this:</DIV><DIV><IMG src="http://www.wip&#111;n.fr/error_after.jpg" border="0"></DIV><DIV>&nbsp;</DIV><DIV>The title bar of my child window is gone, whereas my source code has not been changed.</DIV><DIV>Any idea on how I could see the title bar again?</DIV><DIV>&nbsp;</DIV><DIV>Thank you.</DIV><DIV>&nbsp;</DIV><DIV>PS: Oleg, your avatar is&nbsp;the hedgehog from Youri Norstein?</DIV>]]>
   </description>
   <pubDate>Mon, 10 Jul 2006 10:04:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=14086&amp;title=chldfrm-and-skineframework#14086</guid>
  </item> 
  <item>
   <title><![CDATA[ChldFrm and SkineFramework : Hi,  I encounter a problem since...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=13657&amp;title=chldfrm-and-skineframework#13657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=728">gwoin</a><br /><strong>Subject:</strong> 4416<br /><strong>Posted:</strong> 15 June 2006 at 11:52am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I encounter a problem since&nbsp; the version 10.2 ot the framework.</DIV><DIV>&nbsp;</DIV><DIV>My application is using a custom theme (based on the SkinSDISample sample).</DIV><DIV>&nbsp;</DIV><DIV>It&nbsp;is a MDI application, so with<FONT color=#000000>&nbsp;<FONT size=2>CChildFrame.</FONT></FONT></DIV><DIV><FONT size=2>The problem is that the title bar of the child window does not appear with the version 10.2.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT color=#000000 size=2>Plus, the child frame has its own skin (in order to put some images and customs informations in the title bar).</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>My code is simple:</FONT></DIV><FONT color=#800080 size=2><DIV>&nbsp;</DIV><DIV><FONT color=#009933>//customize the theme of the child window</FONT></DIV><DIV>class</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>CMatrisChildFrame</FONT><FONT size=2> </FONT><B><FONT color=#808000 size=2>:</B></FONT><FONT size=2> </FONT><FONT color=#800080 size=2>public</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>CMDIChildWnd</FONT></DIV><DIV><FONT color=#000080 size=2>{</FONT></DIV><DIV><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; &#091;...&#093;</FONT></DIV><DIV><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>int</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>OnCreate</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>LPCREATESTRUCT</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>lpCreateStruct</FONT><B><FONT color=#808000 size=2>);</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>OnNcPaint</FONT><B><FONT color=#808000 size=2>();</FONT></B></DIV><DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT size=2></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>OnNcCalcSize</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>BOOL</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>bCalcValidRects</FONT><B><FONT color=#808000 size=2>,</B></FONT><FONT size=2> </FONT><FONT color=#000080 size=2>NCCALCSIZE_PARAMS</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>FAR</FONT><B><FONT color=#808000 size=2>*</B></FONT><FONT size=2> </FONT><FONT color=#000080 size=2>lpncsp</FONT><B><FONT color=#808000 size=2>);</FONT></B></DIV><DIV><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>OnSize</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>UINT</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>nType</FONT><B><FONT color=#808000 size=2>,</B></FONT><FONT size=2> </FONT><FONT color=#800080 size=2>int</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>cx</FONT><B><FONT color=#808000 size=2>,</B></FONT><FONT size=2> </FONT><FONT color=#800080 size=2>int</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>cy</FONT><B><FONT color=#808000 size=2>);</FONT></B></DIV><DIV><B><FONT color=#808000 size=2></B></FONT><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>OnWindowPosChanging</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>WINDOWPOS</FONT><B><FONT color=#808000 size=2>*</B></FONT><FONT size=2> </FONT><FONT color=#000080 size=2>lpwndpos</FONT><B><FONT color=#808000 size=2>);</FONT></B></DIV><DIV><FONT color=#000080 size=2>&nbsp;&nbsp;&nbsp; afx_msg</FONT><FONT size=2> </FONT><FONT color=#800080 size=2>void</FONT><FONT size=2> </FONT><FONT color=#000080 size=2>OnCaptureChanged</FONT><B><FONT color=#808000 size=2>(</B></FONT><FONT color=#000080 size=2>CWnd</FONT><FONT size=2> </FONT><B><FONT color=#808000 size=2>*</B></FONT><FONT color=#000080 size=2>pWnd</FONT><B><FONT color=#808000 size=2>);</DIV><DIV><FONT color=#000080>&nbsp;&nbsp;&nbsp; </FONT>&#091;...&#093;</DIV><DIV>}</B></FONT><FONT color=#000080 size=2></DIV></DIV><DIV></DIV><DIV><FONT color=#000000>and then:</FONT></DIV><FONT color=#800080 size=2><FONT color=#800080 size=2><P>class</FONT><FONT color=#000000 size=2> </FONT><FONT color=#000080 size=2>CChildFrame</FONT><FONT color=#000000 size=2> </FONT><B><FONT color=#808000 size=2>:</B></FONT><FONT color=#000000 size=2> </FONT><FONT color=#800080 size=2>public</FONT><FONT color=#000000 size=2> </FONT><FONT color=#000080 size=2>CMatrisChildFrame</P><DIV></FONT></FONT><FONT color=#808080 size=2> <FONT color=#000000>All ran well, and I would like to keep this skin for the child, but with the version 10.2 of the framework I dont see the title bar of the child window anymore.</FONT></FONT></DIV><DIV><FONT color=#808080 size=2><FONT color=#000000></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#808080 size=2><FONT color=#000000>Is there any informations to put in the .INI file of my skin, or in the MainFrm.cpp or any where else to see my titlebar again (and the complete skin of the child window too) ?</FONT></FONT></DIV><DIV><FONT color=#808080 size=2><FONT color=#000000></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#808080 size=2><FONT color=#000000>Thank you.</FONT></DIV></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 15 Jun 2006 11:52:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4416&amp;PID=13657&amp;title=chldfrm-and-skineframework#13657</guid>
  </item> 
 </channel>
</rss>