<?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 : CXTPCommandBar in CDialog derived class</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPCommandBar in CDialog derived class]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 02:17:15 +0000</pubDate>
  <lastBuildDate>Thu, 27 Oct 2005 07:27:07 +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=3090</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[CXTPCommandBar in CDialog derived class : Thanks a lot Oleg! That works! Do...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3090&amp;PID=9273&amp;title=cxtpcommandbar-in-cdialog-derived-class#9273</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 3090<br /><strong>Posted:</strong> 27 October 2005 at 7:27am<br /><br /><P>Thanks a lot Oleg! That works!</P><P>Do you also know the answer to my first question (see above)?</P><P>Thanks!</P>]]>
   </description>
   <pubDate>Thu, 27 Oct 2005 07:27:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3090&amp;PID=9273&amp;title=cxtpcommandbar-in-cdialog-derived-class#9273</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCommandBar in CDialog derived class : Add RepositionBars(AFX_IDW_CONTROLBAR_FIRST,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3090&amp;PID=9271&amp;title=cxtpcommandbar-in-cdialog-derived-class#9271</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3090<br /><strong>Posted:</strong> 27 October 2005 at 7:21am<br /><br /><P>Add</P><P>RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);<BR></P><P>to OnSize handler.</P>]]>
   </description>
   <pubDate>Thu, 27 Oct 2005 07:21:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3090&amp;PID=9271&amp;title=cxtpcommandbar-in-cdialog-derived-class#9271</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCommandBar in CDialog derived class : Another one: I have defined a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3090&amp;PID=9240&amp;title=cxtpcommandbar-in-cdialog-derived-class#9240</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 3090<br /><strong>Posted:</strong> 26 October 2005 at 2:08am<br /><br /><P>Another one:</P><P>I have defined a dialog based class as follows:</P><P><strong>#define CDlgBase CXTPDialogBase&lt;CXTResizeDialog&gt;</strong></P><P><strong>class CMyDlg: public CDlgBase<BR>{<BR>}</strong></P><P>I now try to create a toolbar in the OnInitDialog function as follows:</P><P><strong>VERIFY(InitCommandBars());</strong></P><P><strong>CXTPCommandBars* pCommandBars = GetCommandBars();</strong></P><P><strong>CXTPToolBar* pToolBar = pCommandBars-&gt;Add(_T("Standard"), xtpBarTop);<BR>&nbsp;pToolBar-&gt;LoadToolBar(IDR_MAINFRAME);</strong></P><P>Only the commandbar doesn't show.</P><P>Any ideas why not? I looked at the example "DialogSample" but I just can't figure it out.</P><P>Additional info: it's created as a child window of a tabcontrol, with no borders. But I also tried the code on a "normal" popup dialog with the same result.</P><P>Any help is greatly appreciated!</P><P>TIA,</P><P>Martin</P><P><BR>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 26 Oct 2005 02:08:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3090&amp;PID=9240&amp;title=cxtpcommandbar-in-cdialog-derived-class#9240</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCommandBar in CDialog derived class : Hi all, I don&amp;#039;t know if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3090&amp;PID=9225&amp;title=cxtpcommandbar-in-cdialog-derived-class#9225</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 3090<br /><strong>Posted:</strong> 25 October 2005 at 3:44am<br /><br /><P>Hi all,</P><P>I don't know if this topic has been discussed before but here goes:</P><P>Is it possible to use the commandbars in a CDialog derived class which I cannot derive from CXTResizeDialog (because I am already deriving from another CDialog based class which I just can't replace)?</P><P>How do I get a pointer to the GetCommandBars() member function in my scenario (if possible)?</P><P>TIA,</P><P>Martin</P>]]>
   </description>
   <pubDate>Tue, 25 Oct 2005 03:44:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3090&amp;PID=9225&amp;title=cxtpcommandbar-in-cdialog-derived-class#9225</guid>
  </item> 
 </channel>
</rss>