<?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 : Property sheet Problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Property sheet Problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 19:54:43 +0000</pubDate>
  <lastBuildDate>Wed, 16 Aug 2006 21:45:44 +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=4813</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[Property sheet Problem : I guess you have single CommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4813&amp;PID=14984&amp;title=property-sheet-problem#14984</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4813<br /><strong>Posted:</strong> 16 August 2006 at 9:45pm<br /><br />I guess you have single CommandBars product... Yes Gui_Whidbey sample is part of toolkit pro...<DIV>&nbsp;</DIV><DIV>Some hints:</DIV><DIV>&nbsp;</DIV><DIV>1. Add CXTPToolBar m_wndToolBar member to class</DIV><DIV>&nbsp;</DIV><DIV>2. create it:</DIV><DIV>&nbsp;</DIV><DIV>VERIFY(m_wndToolBar.CreateToolBar(WS_TABSTOP|WS_VISIBLE|WS_CHILD|CBRS_TOOLTIPS, this));<BR>m_wndToolBar.LoadToolBar(..);</DIV><DIV>&nbsp;</DIV><DIV>3. manually calc size and move in OnSize handler:</DIV><DIV>&nbsp;</DIV><DIV>void CClassViewPane::OnSize(UINT nType, int cx, int cy)<BR>{<BR>&nbsp;CWnd::OnSize(nType, cx, cy);</DIV><DIV>&nbsp;int nTop = 0;</DIV><DIV>&nbsp;if (m_wndToolBar.GetSafeHwnd())<BR>&nbsp;{<BR>&nbsp;&nbsp;CSize sz = m_wndToolBar.CalcDockingLayout(cx, /*LM_HIDEWRAP|*/ LM_HORZDOCK|LM_HORZ | LM_COMMIT);</DIV><DIV>&nbsp;&nbsp;m_wndToolBar.MoveWindow(0, nTop, cx, sz.cy);<BR>&nbsp;&nbsp;m_wndToolBar.Invalidate(FALSE);<BR>&nbsp;&nbsp;nTop += sz.cy;<BR>&nbsp;}</DIV><DIV>&nbsp;if (m_wndClassView.GetSafeHwnd())<BR>&nbsp;{<BR>&nbsp;&nbsp;m_wndClassView.MoveWindow(0, nTop, cx, cy - nTop);<BR>&nbsp;&nbsp;m_wndClassView.Invalidate(FALSE);<BR>&nbsp;}<BR>}<BR></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 16 Aug 2006 21:45:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4813&amp;PID=14984&amp;title=property-sheet-problem#14984</guid>
  </item> 
  <item>
   <title><![CDATA[Property sheet Problem : Sorry, The sample of GUI_Whidbey...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4813&amp;PID=14979&amp;title=property-sheet-problem#14979</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2245">kkkfengkkk</a><br /><strong>Subject:</strong> 4813<br /><strong>Posted:</strong> 16 August 2006 at 8:09pm<br /><br />Sorry, The sample of GUI_Whidbey is missing in my Samples\UserInterface\&nbsp;**, is there any other sample could give me more information? I opened CommandBars_vc80.sln and search CXTPToolBar as keywords, it seems that all need a CXTPCommandBars,<DIV>i.e: CXTPToolBar* pStaticBar = (CXTPToolBar*)pCommandBars-&gt;Add(_T("Static Bar"), xtpBarTop);</DIV><DIV>&nbsp;</DIV><DIV>But my dialog is derived from CPropertyPage,how to get the handle of CXTPCommandBars? It seems that I could not derived my dialog from CXTPDialog.</DIV>]]>
   </description>
   <pubDate>Wed, 16 Aug 2006 20:09:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4813&amp;PID=14979&amp;title=property-sheet-problem#14979</guid>
  </item> 
  <item>
   <title><![CDATA[Property sheet Problem : Hi, You can create toolbars without...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4813&amp;PID=14959&amp;title=property-sheet-problem#14959</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4813<br /><strong>Posted:</strong> 16 August 2006 at 11:35am<br /><br /><DIV>Hi,</DIV><DIV>You can create toolbars without CXTPCommandBars just using CreateToolBar and manually position them.</DIV><DIV>&nbsp;</DIV><DIV>See Samples\UserInterface\GUI_Whidbey\PropertiesPane.cpp </DIV>]]>
   </description>
   <pubDate>Wed, 16 Aug 2006 11:35:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4813&amp;PID=14959&amp;title=property-sheet-problem#14959</guid>
  </item> 
  <item>
   <title><![CDATA[Property sheet Problem : Hi, I am going to implement a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4813&amp;PID=14944&amp;title=property-sheet-problem#14944</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2245">kkkfengkkk</a><br /><strong>Subject:</strong> 4813<br /><strong>Posted:</strong> 16 August 2006 at 4:56am<br /><br />Hi, I am going to implement a series of wizard dialog and used MFC's CPropertySheet and CPropertyPage at first. But I need to have XP style toolbar in each dialog, so it seems that I have to derived from CXTPCustomizeSheet and CXTPCustomizeCommandsPage,and then it is able to use CXTPCommandBar. But I failed. &nbsp;how to construct CXTPCustomizeSheet and CXTPCustomizeCommandsPage, it seems defferent with MFC, Is there any sample code about Property sheet? Please give me a hand... ]]>
   </description>
   <pubDate>Wed, 16 Aug 2006 04:56:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4813&amp;PID=14944&amp;title=property-sheet-problem#14944</guid>
  </item> 
 </channel>
</rss>