Tooltip doesn't hide with the calendar |
Post Reply |
Author | |||
JohnCrenshaw
Groupie Joined: 08 September 2006 Status: Offline Points: 65 |
Post Options
Thanks(0)
Posted: 12 April 2007 at 1:07pm |
||
All you poor folks at CodeJock probably start crying when you see another post from me. The good news is that this is a piece of cake to fix, and I even posted the code for you. If the calendar disappears, with a visible tooltip, the tooltip sticks around. This became an issue since our product can make the calendar hide without the user clicking, pressing a button, or anything else that would normally cause the tooltip to be dismissed.The solution, if you didn't guess already, is to add a message handler for WM_SHOWWINDOW and hide the tooltip if the window hides.
In the header add:
In the cpp file add this to the message map...
...and this with the other message handlers.
|
|||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |