<?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 : CXTPMenuBar only shows when mouse hovered over it.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPMenuBar only shows when mouse hovered over it.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 00:18:42 +0000</pubDate>
  <lastBuildDate>Thu, 31 Jan 2008 09:56: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=9453</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[CXTPMenuBar only shows when mouse hovered over it. : I&amp;#039;ve looked at the function...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9453&amp;PID=30693&amp;title=cxtpmenubar-only-shows-when-mouse-hovered-over-it#30693</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3688">BobWansink</a><br /><strong>Subject:</strong> 9453<br /><strong>Posted:</strong> 31 January 2008 at 9:56am<br /><br />I've looked at the function and implemented it in the Program. The system doesn't compile though, because DialogSample is derived from&nbsp; CXTPDialogBase&lt;CXTResizeDialog&gt;. My modal dialogs are all derived from CXTPFrameWnd, thus, I have no acces to the function Offset. I've commented it out, unsure of whether this would effect the outcome of the function.<br><br>The result was that the problem is still there. Is the Offset function important (I assume it is, it would not be there if it wasn't)?<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Thu, 31 Jan 2008 09:56:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9453&amp;PID=30693&amp;title=cxtpmenubar-only-shows-when-mouse-hovered-over-it#30693</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPMenuBar only shows when mouse hovered over it. : Hi,If this is a dialog, look into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9453&amp;PID=30685&amp;title=cxtpmenubar-only-shows-when-mouse-hovered-over-it#30685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 9453<br /><strong>Posted:</strong> 31 January 2008 at 6:56am<br /><br />Hi,<br><br>If this is a dialog, look into the DialogSample, function<br>RepositionControls.<br><br>else<br>&nbsp;look for correct base codejock classes.<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Thu, 31 Jan 2008 06:56:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9453&amp;PID=30685&amp;title=cxtpmenubar-only-shows-when-mouse-hovered-over-it#30685</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPMenuBar only shows when mouse hovered over it. :    Hi!After toying around with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9453&amp;PID=30683&amp;title=cxtpmenubar-only-shows-when-mouse-hovered-over-it#30683</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3688">BobWansink</a><br /><strong>Subject:</strong> 9453<br /><strong>Posted:</strong> 31 January 2008 at 6:10am<br /><br />Hi!<br><br>After toying around with the Theme of our application, I stumbled against the following problem:<br><br>Our software uses modal frames for Human-Computer Interfacing. After applying the theme of Visual Studio 2005 to the main frame, I'd like all the modal frames to have the same type of menu-bar, in stead of the old MFC-style menu bars. <br><br>However, these modal frames are given their menu's after creation, and dynamically, so no resource_ID can be used. I've noticed the LoadMenu function, and applied it. This seems to work. A Visual Studio 2005 themed menu is added to the application. <br><br>The only problem is that the menu is only visible when the mouse hovers over it.<br><br>&nbsp;<img src="uploads/20080131_060618_20080131_CXTPMe.png" height="500" width="502" border="0"><br><br>The image above shows it. <br><br>I've done InitCommandBars(); in the onCreate of the frame. In our own setMenu function, i:<br><br><font face="Courier New, Courier, mono">&nbsp; CXTPCommandBars* pCommandBars = GetCommandBars();<br>&nbsp; CXTPCommandBar* pMenuBar = pCommandBars-&gt;GetMenuBar();<br>&nbsp; pMenuBar-&gt;LoadMenu(&amp;menu, true);<br>&nbsp; pMenuBar-&gt;SetFlags(xtpFlagIgnoreSetMenuMessage);<br><br><font face="Arial, Helvetica, sans-serif">Does anyone know why the menu doesn't appear normally? Did I not implement it correctly? Am i missing something?<br><br>Thanks in advance.<br><br><br>edited: Picture was wrongly aligned..<br></font><br></font> ]]>
   </description>
   <pubDate>Thu, 31 Jan 2008 06:10:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9453&amp;PID=30683&amp;title=cxtpmenubar-only-shows-when-mouse-hovered-over-it#30683</guid>
  </item> 
 </channel>
</rss>