<?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 : CXTPToolBar in Dialog Box</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPToolBar in Dialog Box]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 15:29:48 +0000</pubDate>
  <lastBuildDate>Thu, 10 Jul 2008 06:54:49 +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=11370</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[CXTPToolBar in Dialog Box : Thanks, that worked.I added OnSize...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11370&amp;PID=38114&amp;title=cxtptoolbar-in-dialog-box#38114</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4300">gautambjain</a><br /><strong>Subject:</strong> 11370<br /><strong>Posted:</strong> 10 July 2008 at 6:54am<br /><br /><br>Thanks, that worked.<br><br>I added OnSize and RepositionControls and it worked.<br><br>You sample projects are nice, but seriously, I think that you must add comments to your sample projects.<br><br>Improving your help docs and sample projects will reduce support cost.<br>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 06:54:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11370&amp;PID=38114&amp;title=cxtptoolbar-in-dialog-box#38114</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in Dialog Box : Hi, Did you copy code from OnSize...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11370&amp;PID=38098&amp;title=cxtptoolbar-in-dialog-box#38098</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11370<br /><strong>Posted:</strong> 10 July 2008 at 5:32am<br /><br />Hi,<DIV>Did you copy code from OnSize ?</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 05:32:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11370&amp;PID=38098&amp;title=cxtptoolbar-in-dialog-box#38098</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar in Dialog Box :  Using 12.0.1I created a MFC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11370&amp;PID=38084&amp;title=cxtptoolbar-in-dialog-box#38084</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4300">gautambjain</a><br /><strong>Subject:</strong> 11370<br /><strong>Posted:</strong> 10 July 2008 at 2:19am<br /><br /><br>Using 12.0.1<br><br>I created a MFC project derived from CDialog (not SDI or MDI)<br><br>Based on DialogSample, I changed CDialog to CXTPDialogBase&lt;CXTResizeDialog&gt; everywhere.<br><br>After which I added the following code. But the toolbar is not showing up. Please help.<br><br>This code is copied and pasted from CDialogSample except for some menu names and toolbar names.<br><br><table width="99%"><tr><td><pre class="BBcode"><br><br>&nbsp;&nbsp;&nbsp; VERIFY(InitCommandBars());<br>&nbsp;&nbsp;&nbsp; CXTPCommandBars* pCommandBars = GetCommandBars();<br><br>&nbsp;&nbsp;&nbsp; pCommandBars-&gt;SetMenu(_T("Menu Bar"), IDR_MENU_TOOLS);<br><br>&nbsp;&nbsp;&nbsp; CXTPToolBar *pToolBar = pCommandBars-&gt;Add(_T("Standard"), xtpBarTop, RUNTIME_CLASS(CXTPToolBar));<br>&nbsp;&nbsp;&nbsp; pToolBar-&gt;LoadToolBar(IDR_TOOLBAR_STANDARD);<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; ((CXTPControlButton*)pToolBar-&gt;GetControls()-&gt;FindControl(xtpControlButton, ID_BUTTON_STAYONTOP, TRUE, FALSE))-&gt;SetStyle(xtpButtonIconAndCaption);<br><br>&nbsp;&nbsp;&nbsp; pToolBar-&gt;GetControls()-&gt;CreateOriginalControls();<br>&nbsp;&nbsp;&nbsp; pCommandBars-&gt;GetCommandBarsOptions()-&gt;ShowKeyboardCues(xtpKeyboardCuesShowWindowsDefault);<br>&nbsp;&nbsp;&nbsp; pCommandBars-&gt;GetToolTipContext()-&gt;SetStyle(xtpToolTipOffice);<br><br><br></pre></td></tr></table><br><br>The problem is that the toolbar is not showing up. It is invisible.<br><br>Please help.<br>]]>
   </description>
   <pubDate>Thu, 10 Jul 2008 02:19:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11370&amp;PID=38084&amp;title=cxtptoolbar-in-dialog-box#38084</guid>
  </item> 
 </channel>
</rss>