<?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 : OnCreateCommandBar not working for tmaking earoffs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : OnCreateCommandBar not working for tmaking earoffs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 10:02:43 +0000</pubDate>
  <lastBuildDate>Thu, 25 Jan 2007 21:08:59 +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=6229</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[OnCreateCommandBar not working for tmaking earoffs : Here&amp;#039;s another piece of the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6229&amp;PID=19741&amp;title=oncreatecommandbar-not-working-for-tmaking-earoffs#19741</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 6229<br /><strong>Posted:</strong> 25 January 2007 at 9:08pm<br /><br />Here's another piece of the puzzle:<DIV>&nbsp;</DIV><DIV>The app has multiple Doc types. When I open a document, the menubar does not change to the class menu. It *always* remains the mainframe menubar.</DIV><DIV>I DO NOT call SetFlag()&nbsp;to set any&nbsp;menu flags.&nbsp;In fact, if I do call it, there doesn't seem to be any effect for any of the flags.</DIV><DIV>&nbsp;</DIV><DIV>Michael</DIV>]]>
   </description>
   <pubDate>Thu, 25 Jan 2007 21:08:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6229&amp;PID=19741&amp;title=oncreatecommandbar-not-working-for-tmaking-earoffs#19741</guid>
  </item> 
  <item>
   <title><![CDATA[OnCreateCommandBar not working for tmaking earoffs : I am trying to setup tearoff popup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6229&amp;PID=19739&amp;title=oncreatecommandbar-not-working-for-tmaking-earoffs#19739</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 6229<br /><strong>Posted:</strong> 25 January 2007 at 8:28pm<br /><br />I am trying to setup tearoff popup menus and have hit a brick wall after spending hours on this. There are a number of strange problems:<DIV>&nbsp;</DIV><DIV>OnCreateCommandBar() is not being called for all popups. Using AfxMessageBox() to&nbsp;show the comtrolbar caption,&nbsp;I can see that it is being called for the&nbsp;dropbutton popups&nbsp;on toolbars but *only*&nbsp;for&nbsp;the top level popups on the menubar. it is not called for anything below the menubar level.</DIV><DIV>&nbsp;</DIV><DIV>I&nbsp;followed the source code in the sample app&nbsp;"Tear off popups". In that example, the lower level popups are called. But not so in my app! What am I not doing???</DIV><DIV>&nbsp;</DIV><DIV>Another issue: This is an MDI app with multiple document types. Even though I call CXTPCommandBars::SetMenu() using other doc ID's, the OnCreateCommandBar() is only being called for the mainframe menu. And then, only for the top level popups on the menubar.</DIV><DIV>&nbsp;</DIV><DIV>Michael</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 25 Jan 2007 20:28:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6229&amp;PID=19739&amp;title=oncreatecommandbar-not-working-for-tmaking-earoffs#19739</guid>
  </item> 
 </channel>
</rss>