Have a question about "On Top" windows and tooltips. If my parent window is "on top" how can I make a tooltip appear over my child control?

When my parent window is not on top, the tooltip shows fine over the child.
Posted on 2003-05-17 01:22:01 by Gunner
Is it possible to use the tooltip handle and specify the WS_EX_TOPMOST style using SetWindowLong. Never tried it but it's worth a shot. When two topmost windows are displayed the one that was created second is displayed on top so your tooltips should display over your dialog.
Posted on 2003-05-17 02:06:11 by donkey
You cannot set WS_EX_TOPMOST, only read it. To actually set topmost flag, use SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE OR SWP_NOMOVE OR SWP_NOSIZE).

What do you mean by tooltip over your child control?
Posted on 2003-05-17 02:18:23 by comrade
thanks comrade, SWP_NOACTIVATE worked. I tried SetWindowPos but used SWP_SHOWWINDOW instead...

What do you mean by tooltip over your child control?

I meant to say child window... you know what I meant..
Posted on 2003-05-17 07:57:59 by Gunner