<?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 : Dialog &amp; CommandBars &amp; Panes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Dialog &amp; CommandBars &amp; Panes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 08:58:54 +0000</pubDate>
  <lastBuildDate>Mon, 06 Nov 2006 05:33:37 +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=5413</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[Dialog &amp; CommandBars &amp; Panes : One of solutionto remove WS_THICKFRAMEstyle:   BOOL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5413&amp;PID=17050&amp;title=dialog-commandbars-panes#17050</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5413<br /><strong>Posted:</strong> 06 November 2006 at 5:33am<br /><br /><P>One of solution&nbsp;to remove WS_THICKFRAMEstyle:</P><DIV>&nbsp;</DIV><DIV><FONT size=2><P>BOOL CMainFrame::PreCreateWindow(CREATESTRUCT&amp; cs)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>( !CMDIFrameWnd::PreCreateWindow(cs) )</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> FALSE;</P><P></FONT><FONT color=#008000 size=2>// TODO: Modify the Window class or styles here by modifying</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>// the CREATESTRUCT cs</P></FONT><FONT size=2><P>cs.style &amp;= ~WS_THICKFRAME;</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> TRUE;</P><P>}</P></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 06 Nov 2006 05:33:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5413&amp;PID=17050&amp;title=dialog-commandbars-panes#17050</guid>
  </item> 
  <item>
   <title><![CDATA[Dialog &amp; CommandBars &amp; Panes : Hi,First it was only a ResizeDialogBase...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5413&amp;PID=17049&amp;title=dialog-commandbars-panes#17049</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 5413<br /><strong>Posted:</strong> 06 November 2006 at 5:13am<br /><br />Hi,<br><br>First it was only a ResizeDialogBase class.<br>Than we need a statusbar. Than we need on a other dialog<br>Commonbars. Now a costumer sad he need a additional (Dockable) state window. So i must add a DockingPane.<br><br>Ok, i will look to change our base class to a CFrameWnd/CFormView base class.<br><br>Is there a way to lock resizing CFrameWnd/CFormView ?<br><br>greetings from austria<br>&nbsp;&nbsp;&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Mon, 06 Nov 2006 05:13:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5413&amp;PID=17049&amp;title=dialog-commandbars-panes#17049</guid>
  </item> 
  <item>
   <title><![CDATA[Dialog &amp; CommandBars &amp; Panes : it looks like craze idea - you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5413&amp;PID=16960&amp;title=dialog-commandbars-panes#16960</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5413<br /><strong>Posted:</strong> 02 November 2006 at 11:39am<br /><br />it looks like craze idea - you have COmmandBars/DockingPane/StatusBar and why you still use CDialog.... Try to change it to simple CFrameWnd + CFormView and life will be easy.]]>
   </description>
   <pubDate>Thu, 02 Nov 2006 11:39:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5413&amp;PID=16960&amp;title=dialog-commandbars-panes#16960</guid>
  </item> 
  <item>
   <title><![CDATA[Dialog &amp; CommandBars &amp; Panes : Hello,I&amp;#039;ve a resizeable Dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5413&amp;PID=16958&amp;title=dialog-commandbars-panes#16958</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 5413<br /><strong>Posted:</strong> 02 November 2006 at 10:29am<br /><br />Hello,<br><br>I've a resizeable Dialog with a commandbar &amp; statusbar.<br>Work good.<br><br>Now i will add a panemanager.<br>How look like OnSize for this ?<br><br>Now i have<br>void CExResizeDialog::OnSize(UINT nType, int cx, int cy) <br>{<br>&nbsp;&nbsp;&nbsp; __super::OnSize(nType, cx, cy);<br>&nbsp;&nbsp;&nbsp; RepositionControls();<br>}<br><br><br>void CExResizeDialog::RepositionControls()<br>{<br>&nbsp;&nbsp;&nbsp; if (m_bInRepositionControls)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br><br>&nbsp;&nbsp;&nbsp; m_bInRepositionControls = TRUE;<br><br>&nbsp;&nbsp;&nbsp; CRect rcClientStart;<br>&nbsp;&nbsp;&nbsp; CRect rcClientNow;<br>&nbsp;&nbsp;&nbsp; GetClientRect(rcClientStart);<br><br>&nbsp;&nbsp;&nbsp; RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0, reposQuery, rcClientNow);<br><br>&nbsp;&nbsp;&nbsp; CRect rcBorders(rcClientNow.left - rcClientStart.left, rcClientNow.top - rcClientStart.top,&nbsp; rcClientStart.right - rcClientNow.right, <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rcClientStart.bottom - rcClientNow.bottom);<br><br>&nbsp;&nbsp;&nbsp; if (rcBorders != m_rcBorders)<br>&nbsp;&nbsp;&nbsp; {<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CPoint ptOffset(rcBorders.left - m_rcBorders.left, rcBorders.top - m_rcBorders.top);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CRect rcWindow;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GetWindowRect(rcWindow);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rcWindow.right += rcBorders.left + rcBorders.right - m_rcBorders.left - m_rcBorders.right;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rcWindow.bottom += rcBorders.top + rcBorders.bottom - m_rcBorders.top - m_rcBorders.bottom;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Offset(ptOffset);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_rcWindow = rcWindow;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MoveWindow(rcWindow, TRUE);<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; m_rcBorders = rcBorders;<br><br>&nbsp;&nbsp;&nbsp; RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);<br><br>&nbsp;&nbsp;&nbsp; m_bInRepositionControls = FALSE;<br>}<br><br>But how can i add the paneManager ?<br><br>Any sample for this ?<br><br>Thanx<br>&nbsp;&nbsp;&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Thu, 02 Nov 2006 10:29:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5413&amp;PID=16958&amp;title=dialog-commandbars-panes#16958</guid>
  </item> 
 </channel>
</rss>