<?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 : Custom MDI childwnd problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Custom MDI childwnd problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 25 May 2026 14:09:54 +0000</pubDate>
  <lastBuildDate>Fri, 05 Jan 2007 04:02:51 +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=5986</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[Custom MDI childwnd problem : Hi Oleg,  Thank you, I didn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5986&amp;PID=18867&amp;title=custom-mdi-childwnd-problem#18867</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=728">gwoin</a><br /><strong>Subject:</strong> 5986<br /><strong>Posted:</strong> 05 January 2007 at 4:02am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>Thank you, I didn't know this function.</DIV><DIV>It works very weel now <img src="https://forum.codejock.com/smileys/smiley1.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 04:02:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5986&amp;PID=18867&amp;title=custom-mdi-childwnd-problem#18867</guid>
  </item> 
  <item>
   <title><![CDATA[Custom MDI childwnd problem : Hi, if you manually draw this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5986&amp;PID=18824&amp;title=custom-mdi-childwnd-problem#18824</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5986<br /><strong>Posted:</strong> 04 January 2007 at 2:51pm<br /><br />Hi,<DIV>if you manually draw this window better just call XTPSkinManager()-&gt;Remove(m_hWnd) to not skin it.</DIV>]]>
   </description>
   <pubDate>Thu, 04 Jan 2007 14:51:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5986&amp;PID=18824&amp;title=custom-mdi-childwnd-problem#18824</guid>
  </item> 
  <item>
   <title><![CDATA[Custom MDI childwnd problem : Hi,  In my application, I have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5986&amp;PID=18817&amp;title=custom-mdi-childwnd-problem#18817</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=728">gwoin</a><br /><strong>Subject:</strong> 5986<br /><strong>Posted:</strong> 04 January 2007 at 12:27pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>In my application, I have a MDI child window (and only one).</DIV><DIV>This child frame is derived from CMDIChildWnd to draw custom informations in its title bar (display buttons, dynamic informations, ...), overwritting the "OnNcPaint()" function..</DIV><DIV>&nbsp;</DIV><DIV>It works fine, but when I move the window with the mouse, my title bar disappears.</DIV><DIV>&nbsp;</DIV><DIV>It is very annoying.</DIV><DIV>&nbsp;</DIV><DIV>I already modified the CXTPSkinObjectFrame::UseDefWindowProcAvail(..) method to avoid the "return FALSE;" :</DIV><DIV><FONT color=#737373 size=2>if (HasCaption()) </FONT></DIV><DIV><FONT color=#737373><FONT size=2>&nbsp;&nbsp;&nbsp; </FONT><FONT size=2>return FALSE;</FONT></FONT></DIV><DIV><DIV><FONT size=2><FONT color=#737373>if (GetExStyle() &amp; WS_EX_MDICHILD)&nbsp; </FONT></FONT></DIV><DIV><FONT size=2><FONT color=#737373>&nbsp;&nbsp;&nbsp; return FALSE;</FONT></FONT></DIV><DIV><FONT size=2><FONT color=#737373></FONT></FONT>&nbsp;</DIV><DIV>Withou that, my title bar is never&nbsp;drawn.</DIV><DIV>&nbsp;</DIV><DIV>Here are two screen captures explaining the problem:</DIV><DIV>&nbsp;</DIV><DIV>When I run the application:</DIV><DIV><img src="https://forum.codejock.com/uploads/20070104_122337_matris_with.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Just after moving a little&nbsp;the child&nbsp;window:</DIV><DIV><img src="https://forum.codejock.com/uploads/20070104_122442_matris_without.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Have I to modify another part of the XTP code to get my title bar all the time?</DIV><DIV>&nbsp;</DIV><DIV>Thank you.</DIV></DIV>]]>
   </description>
   <pubDate>Thu, 04 Jan 2007 12:27:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5986&amp;PID=18817&amp;title=custom-mdi-childwnd-problem#18817</guid>
  </item> 
 </channel>
</rss>