I have a form that I allow the user toggle back and forth from being permanently on top (HWND_TOPMOST) to not being on top(HWND_NOTTOPMOST).
This is done using SetWindowPos, as you probably know.
Anyway I've notice a stange bug. When the form is in TOPMOST mode, the tooltips for my toolbar appear behind the form.
(I verified this by making the tip for the rightmost button long enough for it to stick out from behind the form.)
In not topmost or top(HWND_TOP) mode the tooltips work fine.
Anyway, if anybody has a fix or an idea about how to correct this, I'd appreciate it.
This does not seem to affect the tooltips for the other controls.
I tried changing the ZOrder for the control. It doesn't help.