Losing tootips on Statubar and Toolbar.
I have an app the has a Toolbar and Statusbar on the main form. Additionally the main form has a child form that has a Statusbar on it.
After an indeterminate amount of time (several hours), when hovering over the Statusbar or Toolbar the tooltips no longer appear. Other controls on the form such as radio buttons, text boxes, checkboxes, have tooltips that appear normally and consistanly. The child form's statusbar will also be missing its tooltips. Suddenly the tooltips will reappear...for 5 minutes...or maybe 10 mins, or less than 2 mins then disappear again for who knows how long. Reloading the app when the tooltips are missing will not restore the tips...it takes reloading WinXP. But then shortly they will disappear again. I really don't think its my app.
Any ideas? How can I track this down?
Re: Losing tootips on Statubar and Toolbar.
If you are using WinXP then it could be related to old (and very well known) XP bug when tooltips are hidden behind the Taskbar - tooltip won't reappear unless you restart windows.
I said "could be related" beacause both Toolbar and Taskbar are part of Windows Common Controls library that might be affected by this bug.
Here are few links to fix it for those who's interested:
http://www.tech-pro.net/howto_018.html
http://neosmart.net/blog/2007/window...tip-bug-fixed/
Re: Losing tootips on Statubar and Toolbar.
This is definately not the same bug as you linked me to Rhino. The tooltips are not hidden behind the form, since my tooltips are long and depending on where the mouse would hit the control, would peek out from behind the form when it was OnTop and with no other windows open. I fixed that bug a few years ago,(yes it still exists when setting a form OnTop), with a few Api calls. I tested the hell out of it for months and never saw this new bug occur. This new bug, doesn't display the the tooltips at all when it occurs, they are not just hidden behind the form. The more I play with this phenomenon, it seems that the mouse events messages are not being processed by Windows. I put a Beep statement in the mousemove event for the Statusbar and the event is firing rapidly.
Any ideas on how I can track this down?
Re: Losing tootips on Statubar and Toolbar.
Quote:
Originally Posted by vb_lover
... I put a Beep statement in the mousemove event for the Statusbar and the event is firing rapidly.
How's Beep going to help if Tooltip is actually another window that [again ] may get behind the parent.
Are you using MouseMove to display tooltip too?
Re: Losing tootips on Statubar and Toolbar.
Since this missing tooltips was occurring on my Toolbar AS WELL AS my Statusbar(but the tooltips of no other controls had this problem) I put a beep statement in the mousemove event to prove that it was firing, since that is how I originate my tooltips for the statusbar.
This problem was recreateable, but suddenly disappeared, and I did nothing to my program. As I was closing browser windows I kept checking it, when I closed file explorer windows, the problem went away, and I have not since been able to recreate it. I had reloaded XP prior several times, and the missing tooltips problem was always there, but now its not, not even with opening file explorer windows. And I wasn't that low on memory. I guess I have to wait until it rears its ugly head again to determine how to recreate it.:mad: