<?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 : Capti&#111;n Bar in the Mainframe of an MDI</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Capti&#111;n Bar in the Mainframe of an MDI]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 23:03:10 +0000</pubDate>
  <lastBuildDate>Mon, 14 Aug 2006 08:04: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=4330</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[Capti&#111;n Bar in the Mainframe of an MDI : Hi, 1. Add detrived class from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4330&amp;PID=14844&amp;title=caption-bar-in-the-mainframe-of-an-mdi#14844</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4330<br /><strong>Posted:</strong> 14 August 2006 at 8:04am<br /><br /><DIV>Hi,</DIV><DIV>1. Add detrived class from CXTCaption</DIV><DIV>2. Catch </DIV><DIV>ON_MESSAGE(WM_SIZEPARENT, OnSizeParent)</DIV><DIV>&nbsp;</DIV><DIV>and<BR></DIV><DIV>LRESULT CMyCaption::OnSizeParent(WPARAM, LPARAM lParam)<BR>{<BR>&nbsp;AFX_SIZEPARENTPARAMS* lpLayout = (AFX_SIZEPARENTPARAMS*)lParam;</DIV><DIV>&nbsp;if (GetStyle() &amp; WS_VISIBLE)<BR>&nbsp;{<BR>&nbsp;&nbsp;// align the control bar<BR>&nbsp;&nbsp;CRect rect;<BR>&nbsp;&nbsp;rect.CopyRect(&amp;lpLayout-&gt;rect);</DIV><DIV>&nbsp;&nbsp;CSize sizeAvail = rect.Size();&nbsp; // maximum size available</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;CSize size(sizeAvail.cx, 20);</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;size.cy = min(size.cy, sizeAvail.cy);</DIV><DIV>&nbsp;&nbsp;lpLayout-&gt;sizeTotal.cy += size.cy;<BR>&nbsp;&nbsp;lpLayout-&gt;sizeTotal.cx = max(lpLayout-&gt;sizeTotal.cx, size.cx);<BR>&nbsp;&nbsp;lpLayout-&gt;rect.top += size.cy;</DIV><DIV>&nbsp;&nbsp;rect.right = rect.left + size.cx;<BR>&nbsp;&nbsp;rect.bottom = rect.top + size.cy;</DIV><DIV>&nbsp;&nbsp;// only resize the window if doing layout and not just rect query<BR>&nbsp;&nbsp;if (lpLayout-&gt;hDWP != NULL)<BR>&nbsp;&nbsp;&nbsp;AfxRepositionWindow(lpLayout, m_hWnd, &amp;rect);</DIV><DIV>&nbsp;&nbsp;Redraw();<BR>&nbsp;}<BR>&nbsp;return 0;<BR>}<BR></DIV><DIV>3. create caption as child of mainframe.</DIV>]]>
   </description>
   <pubDate>Mon, 14 Aug 2006 08:04:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4330&amp;PID=14844&amp;title=caption-bar-in-the-mainframe-of-an-mdi#14844</guid>
  </item> 
  <item>
   <title><![CDATA[Capti&#111;n Bar in the Mainframe of an MDI :    Any ideas? Even I need help... ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4330&amp;PID=14810&amp;title=caption-bar-in-the-mainframe-of-an-mdi#14810</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 4330<br /><strong>Posted:</strong> 11 August 2006 at 12:50am<br /><br /><br><br><img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="middle"> Any ideas? Even I need help...<br>]]>
   </description>
   <pubDate>Fri, 11 Aug 2006 00:50:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4330&amp;PID=14810&amp;title=caption-bar-in-the-mainframe-of-an-mdi#14810</guid>
  </item> 
  <item>
   <title><![CDATA[Capti&#111;n Bar in the Mainframe of an MDI : Any Idea ??  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4330&amp;PID=13502&amp;title=caption-bar-in-the-mainframe-of-an-mdi#13502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2068">estebann10</a><br /><strong>Subject:</strong> 4330<br /><strong>Posted:</strong> 07 June 2006 at 12:43pm<br /><br /><P>Any Idea ??</P><P><IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></P>]]>
   </description>
   <pubDate>Wed, 07 Jun 2006 12:43:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4330&amp;PID=13502&amp;title=caption-bar-in-the-mainframe-of-an-mdi#13502</guid>
  </item> 
  <item>
   <title><![CDATA[Capti&#111;n Bar in the Mainframe of an MDI : Hi !! I&amp;#039;m trying to create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4330&amp;PID=13338&amp;title=caption-bar-in-the-mainframe-of-an-mdi#13338</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2068">estebann10</a><br /><strong>Subject:</strong> 4330<br /><strong>Posted:</strong> 03 June 2006 at 7:28am<br /><br /><P>Hi !!</P><P>I'm trying to create a Caption Bar in the Mainframe of my MDI application. Samples show how to procede with a SDI, but not with a MDI. I'm trying to split the Mainframe but i'm getting mad... Could you please give me some help on this little problem ?</P><P>Thanks for advance...</P>]]>
   </description>
   <pubDate>Sat, 03 Jun 2006 07:28:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4330&amp;PID=13338&amp;title=caption-bar-in-the-mainframe-of-an-mdi#13338</guid>
  </item> 
 </channel>
</rss>