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 » CExtPopupMenuWnd hiding delay Collapse All
Subject Author Date
Itay Shahaf Feb 11, 2008 - 12:42 AM

Hi,

How can I increase the hiding delay of CExtPopupMenuWnd ? I found the (commented out) _DelayHide, but I’m not sure where should I call it and where should I kill the timer.

Thanks, Itay.

Technical Support Feb 11, 2008 - 8:54 AM

There are two static properties defined in the CExtPopupMenuWnd class, which allow you to control how quickly pop-up sub menus display and hide:

INT CExtPopupMenuWnd::g_nTimeDelayedDisplaying = 300;
INT CExtPopupMenuWnd::g_nTimeDelayedHiding = 300;
By default, both intervals are set to 300 milliseconds.