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_AUTO POP, MAKELPARAM(30000, 0));
But how can I get m_hWnd of the tooltip window?
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_AUTO
But how can I get m_hWnd of the tooltip window?
Try GetSafeHwnd()
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
But the longest time is 30 seconds.Can I change it to unlimited?