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.
When my parent window is not on top, the tooltip shows fine over the child.
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.
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?
What do you mean by tooltip over your child control?
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..
What do you mean by tooltip over your child control?
I meant to say child window... you know what I meant..