1. Strange tooltip display
- Posted by CChris <christian.cuvier at agriculture.gouv.fr> Oct 06, 2004
- 410 views
- Last edited Oct 07, 2004
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
2. Re: Strange tooltip display
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 08, 2004
- 411 views
CChris wrote: > > > 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. It would really help if you could give me the smallest example program that demostrates this effect. I tried to make one up based this description above but I didn't really understand some of it. -- Derek Parnell Melbourne, Australia