<?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 : Assert :-(</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Assert :-(]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 02:25:28 +0000</pubDate>
  <lastBuildDate>Thu, 19 Apr 2007 04:56:22 +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=6927</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[Assert :-( :   oleg wrote:  Hi, EnableDocking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6927&amp;PID=22130&amp;title=assert#22130</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 6927<br /><strong>Posted:</strong> 19 April 2007 at 4:56am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><FONT face="Courier New"> <DIV>Hi,</DIV><DIV>EnableDocking can be used only if you asign some CommandBars.</DIV><DIV>&nbsp;</DIV><DIV>You need create CommandBars object and assign it for toolbar. use search for forum, there was some samples.</FONT></DIV></td></tr></table> <DIV><FONT face="Arial, Helvetica, sans-serif">But in my case I am using xtpFlagHideWrap&nbsp;and xtpFlagStretched via EnableDocking, this works well, these flags can be applied without a CommandBars object.</FONT></DIV><DIV><FONT face=Arial></FONT>&nbsp;</DIV><DIV><FONT face=Arial>I can't remember why&nbsp;I don't use a CommandBars object -&nbsp; the dialog is a child of a tab control.</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 19 Apr 2007 04:56:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6927&amp;PID=22130&amp;title=assert#22130</guid>
  </item> 
  <item>
   <title><![CDATA[Assert :-( :  Hi, EnableDocking can be used...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6927&amp;PID=22128&amp;title=assert#22128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6927<br /><strong>Posted:</strong> 19 April 2007 at 4:49am<br /><br /><FONT face="Courier New"><DIV>Hi,</DIV><DIV>EnableDocking can be used only if you asign some CommandBars.</DIV><DIV>&nbsp;</DIV><DIV>You need create CommandBars object and assign it for toolbar. use search for forum, there was some samples.</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 19 Apr 2007 04:49:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6927&amp;PID=22128&amp;title=assert#22128</guid>
  </item> 
  <item>
   <title><![CDATA[Assert :-( :  void CXTPToolBar::EnableDocking(DWORD...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6927&amp;PID=22125&amp;title=assert#22125</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 6927<br /><strong>Posted:</strong> 19 April 2007 at 3:22am<br /><br /><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><FONT face="Courier New, Courier, mono">void CXTPToolBar::EnableDocking(DWORD dwFlags)<BR>{<BR>&nbsp;&nbsp;&nbsp; ASSERT(m_pCommandBars);<BR>&nbsp;&nbsp;&nbsp; m_dwFlags = dwFlags;<BR>}</FONT></P></BLOCKQUOTE><DIV></DIV>Why the ASSERT on the second line? This is annoying when I am just using a data member of type CXTPToolBar in a dialog.<DIV>&nbsp;</DIV><DIV>My code is below.</DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV><FONT face="Courier New, Courier, mono">VERIFY(m_wndToolBar.CreateToolBar(WS_TABSTOP|WS_VISIBLE|WS_CHILD|CBRS_TOOLTIPS, this));<BR>VERIFY(m_wndToolBar.LoadToolBar(IDR_SAT_TRACK_DEFNS));<BR>m_wndToolBar.ShowTextBelowIcons(TRUE);<BR>m_wndToolBar.EnableDocking(xtpFlagAlignTop | xtpFlagHideWrap | xtpFlagStretched);<BR></FONT></DIV></BLOCKQUOTE>]]>
   </description>
   <pubDate>Thu, 19 Apr 2007 03:22:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6927&amp;PID=22125&amp;title=assert#22125</guid>
  </item> 
 </channel>
</rss>