Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Delayed hiding for sub-menus Collapse All
Subject Author Date
Richard Chaney Oct 22, 2007 - 1:02 PM

When the mouse hovers over a Prof-UIS menu item with a sub-menu, there is a 500 millisecond delay before the sub-menu appears. This is like standard Windows behaviour. However, in Prof-UIS there is no delay in hiding the sub-menu when the mouse moves off the menu item. In Windows there is also a 500 millisecond delay before the sub-menu is hidden.

This can sometimes make it difficult to select a sub-menu if the mouse accidently passes over another menu item, which makes Prof-UIS menus slightly less usable than standard Windows menus.

I have noticed a function in CExtPopupMenuWnd called _DelayHide( ) which has been commented out. Why was it taken out, and is there a good way to re-enable it?


Technical Support Feb 11, 2008 - 12:07 PM

Thank you for reporting this issue. We have fixed it and sent a link to the update to you. We think however the delay should be 300 milliseconds rather than 500. The following two static properties of the CExtPopupMenuWnd class allow you to control delayed hiding and displaying of popup sub menus:

INT CExtPopupMenuWnd::g_nTimeDelayedDisplaying = 300;
INT CExtPopupMenuWnd::g_nTimeDelayedHiding = 300;