1. Strange tooltip display

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

new topic     » topic index » view message » categorize

2. Re: Strange tooltip display

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu