<?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 : Menu is not expanding to it full extend</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Menu is not expanding to it full extend]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 02:14:09 +0000</pubDate>
  <lastBuildDate>Tue, 24 Apr 2007 08:25:04 +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=6959</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[Menu is not expanding to it full extend : Thanks alot Oleg for your reply....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6959&amp;PID=22253&amp;title=menu-is-not-expanding-to-it-full-extend#22253</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2903">KumarCJ</a><br /><strong>Subject:</strong> 6959<br /><strong>Posted:</strong> 24 April 2007 at 8:25am<br /><br />Thanks alot Oleg for your reply.]]>
   </description>
   <pubDate>Tue, 24 Apr 2007 08:25:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6959&amp;PID=22253&amp;title=menu-is-not-expanding-to-it-full-extend#22253</guid>
  </item> 
  <item>
   <title><![CDATA[Menu is not expanding to it full extend : Hi,  Call pCommandBars-&amp;gt;G...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6959&amp;PID=22238&amp;title=menu-is-not-expanding-to-it-full-extend#22238</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6959<br /><strong>Posted:</strong> 24 April 2007 at 7:10am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Call pCommandBars-&gt;GetShortcutManager()-&gt;SetAccelerators(IDR_RESOURCE);<BR></DIV><DIV>where IDR_RESOURCE is accelerator table from your resources. (Check that it has accelerators for Cut/Copy etc)</DIV>]]>
   </description>
   <pubDate>Tue, 24 Apr 2007 07:10:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6959&amp;PID=22238&amp;title=menu-is-not-expanding-to-it-full-extend#22238</guid>
  </item> 
  <item>
   <title><![CDATA[Menu is not expanding to it full extend : Hi,   Thanks for your reply,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6959&amp;PID=22229&amp;title=menu-is-not-expanding-to-it-full-extend#22229</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2903">KumarCJ</a><br /><strong>Subject:</strong> 6959<br /><strong>Posted:</strong> 24 April 2007 at 2:39am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Thanks for your reply, my concern is below:</DIV><DIV>&nbsp;</DIV><DIV>The Edit menu looks like below</DIV><DIV>&nbsp;</DIV><DIV>Cut&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ctrl+x</DIV><DIV>Copy&nbsp;&nbsp;&nbsp; ctrl+c </DIV><DIV>Paste&nbsp;&nbsp; ctrl+v</DIV><DIV>&nbsp;</DIV><DIV>But for the edit menu, system is displaying</DIV><DIV>&nbsp;</DIV><DIV><DIV>Cut&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; square box in front of Cut</DIV><DIV>Copy&nbsp;&nbsp;&nbsp; square box in front of Copy</DIV><DIV>Paste&nbsp;&nbsp; square box in front of Paste</DIV></DIV><DIV>&nbsp;</DIV><DIV>it is not displaying, ctrl+x, ctrl+c, ctrl+v for Cut, Copy, Paste. </DIV><DIV>&nbsp;</DIV><DIV><FONT color=#ff0000>I checked with privious version of application exe, the issue is "Edit" menu is not able expand to it full extend and some thing happening with one more menu.</FONT></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>pls let me why this is happening.</DIV><DIV>&nbsp;</DIV><DIV>Here is the code what i had added for Code jock 10.4.2</DIV><DIV>&nbsp;</DIV><DIV>int CMainFrame::OnCreate()</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp; // Initialize the command bars<BR>&nbsp; &nbsp;if (!InitCommandBars())<BR>&nbsp;&nbsp; return -1;<BR>&nbsp;&nbsp; // Get Commandbar<BR>&nbsp;&nbsp;&nbsp;CXTPCommandBar* pCommandBars = GetCommandBars();<BR>&nbsp;&nbsp; // Create MenuBar using CXTPMenuBar* <BR>&nbsp;&nbsp; CXTPMenuBar* m_wndMenuBar = pCommandBars-&gt;SetMenu(_T("Menu Bar"),&nbsp; IDR_MAINFRAME);<BR>&nbsp;&nbsp;if(m_wndMenuBar == NULL)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE0("Failed to create menu bar.\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // fail to create<BR>&nbsp;&nbsp;}<BR>&nbsp; m_wndMenuBar-&gt;SetFlags(xtpFlagAddMDISysPopup);</DIV><DIV>&nbsp;</DIV><DIV>// Create ToolBar<BR>&nbsp;&nbsp;&nbsp; CXTPToolBar* m_wndToolBar = (CMCToolBar *) pCommandBars-&gt;Add(_T(g_cmcstandard), xtpBarTop);<BR>&nbsp;&nbsp;&nbsp; if (!m_wndToolBar || !m_wndToolBar-&gt;LoadToolBar(IDR_MAINFRAMELO))<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;<BR>&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;</DIV><DIV>m_wndToolBar-&gt;EnableDocking(xtpFlagAlignAny | xtpFlagFloating);<BR>&nbsp;EnableDocking(CBRS_ALIGN_ANY);</DIV><DIV>&nbsp;</DIV><DIV>CXTPPaintManager::SetTheme(xtpThemeOffice2003);</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#ff0000>Is i need add something which is going to expand the menu to its full extend?</FONT></DIV><DIV><FONT color=#ff0000></FONT>&nbsp;</DIV><DIV><FONT color=#ff0000>waiting for your reply.</FONT></DIV><DIV><FONT color=#ff0000></FONT>&nbsp;</DIV><DIV><FONT color=#333333>Thanks,</FONT></DIV><DIV><FONT color=#333333>Saket Kumar.</FONT></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 24 Apr 2007 02:39:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6959&amp;PID=22229&amp;title=menu-is-not-expanding-to-it-full-extend#22229</guid>
  </item> 
 </channel>
</rss>