Set my window to wndTopMost. HOWTO?
-
My window (CWnd derived) is created by
CWnd::CreateEx(WS_EX_TOPMOST,..., WS_POPUP, hwndParent)
. hwndParent hasWS_CHILD
style, for it's the only way I could find to create my window without taskbar icon (My wnd is a tooltip-like). I also used:CWnd::SetWindowPos(&wndTopMost,0,0,0,0,SWP_NOSIZE | SWP_NOMOVE)
; My window couldn't top the taskbar :~ . Very funky... Any ideas why this occurs? Any at all?**--BlackSmith--
**/*The roof is on fire, we don't need no water, let the MF burn*/. BHG.
-
My window (CWnd derived) is created by
CWnd::CreateEx(WS_EX_TOPMOST,..., WS_POPUP, hwndParent)
. hwndParent hasWS_CHILD
style, for it's the only way I could find to create my window without taskbar icon (My wnd is a tooltip-like). I also used:CWnd::SetWindowPos(&wndTopMost,0,0,0,0,SWP_NOSIZE | SWP_NOMOVE)
; My window couldn't top the taskbar :~ . Very funky... Any ideas why this occurs? Any at all?**--BlackSmith--
**/*The roof is on fire, we don't need no water, let the MF burn*/. BHG.
In a previous post, I sugested setting the desktop as the parent of your pop-up with
Cwnd::SetParent
. Didn't this work? (just curious) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo -
In a previous post, I sugested setting the desktop as the parent of your pop-up with
Cwnd::SetParent
. Didn't this work? (just curious) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo