Link to home
Start Free TrialLog in
Avatar of wang_gh
wang_gh

asked on

How to set a tooltip's delay time?

Hi,all experts.
I have a dialog with some buttons.I want the tooltip of the buttons can still appear until mouse moves out.So I want to write the code like this:
      ::SendMessage(m_hWnd, TTM_SETDELAYTIME,TTDT_AUTOPOP, MAKELPARAM(30000, 0));
But how can I get m_hWnd of the tooltip window?
Avatar of mahno
mahno

Try GetSafeHwnd()
ASKER CERTIFIED SOLUTION
Avatar of Zoppo
Zoppo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wang_gh

ASKER

But the longest time is 30 seconds.Can I change it to unlimited?