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 » Balloon disappears immediately Collapse All
Subject Author Date
Bart Kampers Jan 11, 2010 - 4:45 AM

Hello,


 


I declared a CExtPopupMenuTioWnd in a Dialog and call mTip.Show(this, tipRect, true) as soon as the dialog gets updated. I see a balloon appear in the dialog but it disappears immediately.


 


How can I make the balloon stay until the user clicks on it?


 


Thanks in advance,


 


Bart.

Technical Support Jan 11, 2010 - 12:29 PM

The CExtPopupMenuTipWnd control behaves like a standard Windows tooltip control. It hides itself automatically when the mouse is moved out of the specified range, mouse clicked or other application is activated on the desktop. You can create your CExtPopupMenuTipWnd-derived class and handle the WM_TIMER message in it. You can copy the source code from the CExtPopupMenuTipWnd::OnTimer() method and remove code lines related to the mouse click detection.