<?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 : CXTPRebar problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPRebar problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 21:02:17 +0000</pubDate>
  <lastBuildDate>Sat, 05 Jun 2004 23:01:41 +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=811</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[CXTPRebar problem : Hi everybody,My application needs...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=811&amp;PID=2147&amp;title=cxtprebar-problem#2147</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=62">vdminh</a><br /><strong>Subject:</strong> 811<br /><strong>Posted:</strong> 05 June 2004 at 11:01pm<br /><br /><P>Hi everybody,<BR>My application needs to add banner at (top, right) corner of Main frame. With Xtreme version 2.0, i used CXTRebar to group toolbar and banner panel together, it worked well. I like new features of Xtreme Toolkit Pro 8.70, so i tried to modify my application, but i was stuck in using CXTPRebar: The toolbar didn't display after adding it to CXTPRebar. Does anybody show me how to fix this problem? This is my code i did to add toolbar to CXTPRebar : <BR><BR>In CMainFrame:OnCreate() : <BR>////////////////////////////////////////////<BR>...<BR>//Init command bar for main frame<BR>&nbsp;&nbsp;if (!InitCommandBars())<BR>&nbsp;{<BR>&nbsp;&nbsp;TRACE0("Failed to initialize command bars\n");<BR>&nbsp;&nbsp;return FALSE;<BR>&nbsp;}//if<BR><BR>//Setup menu bar<BR>&nbsp;CXTPCommandBars* pCommandBars = GetCommandBars();<BR>&nbsp;pCommandBars-&gt;GetCommandBarsOptions()-&gt;bShowExpa ndButtonAlways = FALSE;<BR>&nbsp;<BR>&nbsp;CXTPCommandBar* pMenuBar = pCommandBars-&gt;SetMenu(_T("Menu Bar"), IDR_MAINFRAME);&nbsp;<BR>&nbsp;<BR>&nbsp;//Setup standard toolbar<BR>&nbsp;CXTPToolBar* pCommandBar = (CXTPToolBar*)pCommandBars-&gt;Add(_T("Standard"), xtpBarTop);<BR>&nbsp;if (!pCommandBar || !pCommandBar-&gt;LoadToolBar(IDR_MAINFRAME))<BR>&nbsp;{<BR>&nbsp;&nbsp;TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;return FALSE;<BR>&nbsp;}//if<BR>....<BR>&nbsp;//Create rebar and adding toolbar to it. m_wndRebar is CXTPRebar<BR>if(!m_wndRebar.Create(this) || m_wndRebar.Add(pCommandBar ))<BR>{<BR>&nbsp; ASSERT(FALSE);<BR>}<BR>///////////////////////////////<BR></P><P>Thank you so much</P><span style="font-size:10px"><br /><br />Edited by vdminh</span>]]>
   </description>
   <pubDate>Sat, 05 Jun 2004 23:01:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=811&amp;PID=2147&amp;title=cxtprebar-problem#2147</guid>
  </item> 
 </channel>
</rss>