Strange tooltip display
- Posted by CChris <christian.cuvier at agriculture.gouv.fr> Oct 06, 2004
- 409 views
I have a window with a TabControl, created with a parent and only the WS_SIZEBOX style. Not far from the initial position for this window is a PushButton called "Show toolbox" with the same tooltip as the caption. It tggles the window visibility on and off. When I clck on this buttton with the window still invisible, and if I don't quickly move the mouse after clicking, the tooltip gets displayed in a window the size of the window to display. It stays there till the mouse pointer gets off the button's caption. I could observe this spectacular effect only the first time I click the button after opening the main window. Clicking the window invisible and bringing it back does nthing unexpected, and the toolti displays in the rectangl it is supposed to lie in. The effect is fairly reproducible whenever I launch the application. Any idea of where's the bug? Still Win98SE. All right, that's the bug in the first place but it(s strange behaviour anyway. CChris