<?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 : Unhiding/hiding toolbar docked to mainframe border</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Unhiding/hiding toolbar docked to mainframe border]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 19:42:03 +0000</pubDate>
  <lastBuildDate>Sun, 18 Nov 2007 03:46:53 +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=8778</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[Unhiding/hiding toolbar docked to mainframe border : Hi Oleg  Thanks for replying.  I&amp;#039;ve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8778&amp;PID=28578&amp;title=unhiding-hiding-toolbar-docked-to-mainframe-border#28578</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3442">Leslie2</a><br /><strong>Subject:</strong> 8778<br /><strong>Posted:</strong> 18 November 2007 at 3:46am<br /><br />Hi Oleg <DIV>Thanks for replying.</DIV><DIV>&nbsp;</DIV><DIV>I've noticed a number of places where certain control notifications have been implemented but none appear for the other parts of the commandbar client area.</DIV><DIV>&nbsp;</DIV><DIV>Is there any consideration for raising a message that identifies which part of the commandbar the mouse cursor is on?&nbsp; And whether the cursor has left the commandbar.</DIV><DIV>&nbsp;</DIV><DIV>I've noticed for eg. that where WM_XTP_CONTROLSELECTED is raised in the implementation of "XTPCommandBar.h" there seems to be scope to raise a message that includes this detail (as well as point coordinates).&nbsp; Here a <FONT size=2>HitTest is also used.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I'm a little surprised that an&nbsp;XTP message is not available to provide this info. eg. I want to know the user has moved the cursor over:</FONT></DIV><DIV><FONT size=2>- menu item control &lt;- provided by WM_XTP_CONTROLSELECTED</FONT></DIV><DIV><FONT size=2>- menu client area (non menu item control)</FONT></DIV><DIV><FONT size=2>- button control&nbsp; &lt;-provided by WM_XTP_CONTROLSELECTED</FONT></DIV><DIV><FONT size=2>- toobar client area (non button control)</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>A programmer could then handle this message how they like.</FONT></DIV>]]>
   </description>
   <pubDate>Sun, 18 Nov 2007 03:46:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8778&amp;PID=28578&amp;title=unhiding-hiding-toolbar-docked-to-mainframe-border#28578</guid>
  </item> 
  <item>
   <title><![CDATA[Unhiding/hiding toolbar docked to mainframe border : Hello,  Unfortunatelly this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8778&amp;PID=28530&amp;title=unhiding-hiding-toolbar-docked-to-mainframe-border#28530</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8778<br /><strong>Posted:</strong> 16 November 2007 at 7:00am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Unfortunatelly this functionality is not implemented :(</DIV>]]>
   </description>
   <pubDate>Fri, 16 Nov 2007 07:00:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8778&amp;PID=28530&amp;title=unhiding-hiding-toolbar-docked-to-mainframe-border#28530</guid>
  </item> 
  <item>
   <title><![CDATA[Unhiding/hiding toolbar docked to mainframe border : Hi Bottom line is that I would...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8778&amp;PID=28506&amp;title=unhiding-hiding-toolbar-docked-to-mainframe-border#28506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3442">Leslie2</a><br /><strong>Subject:</strong> 8778<br /><strong>Posted:</strong> 15 November 2007 at 6:18pm<br /><br /><DIV>Hi</DIV><DIV>Bottom line is that I would like to know when the mouse cursor is over any part of the commandbar client site and when the mouse cursor leaves the command bar client site.&nbsp; This is irrespective of whether the&nbsp;cursor is on a commandbar control such as menu or toolbar or on any other part of the commandbar client site.</DIV><DIV>&nbsp;</DIV><DIV>If I can see how this can be achieved I hope to work out&nbsp;any other issues.</DIV><DIV>&nbsp;</DIV><DIV>Been looking for examples and looking through documentation but can't find anything.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>It might be possible&nbsp;that XTP doesn't cater for this.&nbsp; Help appreciated.</DIV>]]>
   </description>
   <pubDate>Thu, 15 Nov 2007 18:18:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8778&amp;PID=28506&amp;title=unhiding-hiding-toolbar-docked-to-mainframe-border#28506</guid>
  </item> 
  <item>
   <title><![CDATA[Unhiding/hiding toolbar docked to mainframe border : I&amp;#039;m currently programming...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8778&amp;PID=28453&amp;title=unhiding-hiding-toolbar-docked-to-mainframe-border#28453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3442">Leslie2</a><br /><strong>Subject:</strong> 8778<br /><strong>Posted:</strong> 14 November 2007 at 4:58am<br /><br /><P>I'm currently programming MFC C++ using MS VS 2003/Xtreme ToolkitPro v11.2.0<BR><BR><strong>Required</strong><BR>To set the scene, I'm trying to develop commandbar toolbars that dock to&nbsp;any edge of the MDI Main Frame.&nbsp; These toolbars&nbsp;would normally be hidden until an event fires and&nbsp;unhides the toolbar docked to a 'main frame border'.&nbsp; As an exercise I'm using the SmartLayout sample since it has lots of nice characteristics to start with.<BR><BR>The 'main frame border' in this context are the edges bordered by:<BR>- Menubar client area</P><DIV>- Main frame border (left &amp; right)<BR>-&nbsp;Statusbar client area<BR><BR><strong>Unhide toolbar</strong><BR>The initial trigger for siting which edge to dock the toolbar&nbsp;to is when the mouse cursor hovers over any of the following areas.<BR>3 scenarios:<BR>1.&nbsp;&nbsp;&nbsp; mouse cursor contacts the menubar client area<BR>2.&nbsp;&nbsp;&nbsp; mouse cursor contacts the left or right frame border<BR>3.&nbsp;&nbsp;&nbsp; mouse cursor contacts the bottom status bar client area<BR><BR>It's intended that as soon as the event is fired, the hidden&nbsp;toolbar maximises and aligns docked to the border that triggered the event to fire ie. Scenario 1, 2 or 3.<BR><BR><strong>Hide toolbar<BR></strong>The toolbar is to hide again once the mouse cursor leaves the client area of the toolbar.<BR><BR><strong>Question:</strong></DIV><DIV><strong>Is CXTPMouseManager class used for this purpose?</strong>&nbsp; </DIV><DIV>&nbsp;</DIV><DIV><strong>I can't find any examples of how to use this class.&nbsp; Please help.</strong></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I tried to use the WM_NCHITTEST&nbsp;message in the Mainframe class but the message only raised when cursor was over the caption/titlebar client area.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>I also tried ON_MESSAGE(WM_XTP_CONTROLSELECTED, OnControlSelected) message map but this only fired when the cursor moved onto a commandbar control ie. menu item or toolbr button.&nbsp; Could not&nbsp;find similar for when the cursor is anywhere on commandbar client.<FONT color=#008000 size=2></DIV></FONT><FONT color=#808080 size=2></FONT><DIV><BR>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance<BR></DIV>]]>
   </description>
   <pubDate>Wed, 14 Nov 2007 04:58:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8778&amp;PID=28453&amp;title=unhiding-hiding-toolbar-docked-to-mainframe-border#28453</guid>
  </item> 
 </channel>
</rss>