Keep a window "Always on Top"
-
Call SetWindowPos[^] onto your window, with the
hWndInsertAfter
parameter set toHWND_TOPMOST
.
Too many passwords to remember? Try KeePass Password Safe!
-
Call SetWindowPos[^] onto your window, with the
hWndInsertAfter
parameter set toHWND_TOPMOST
.
Too many passwords to remember? Try KeePass Password Safe!
-
It brings the window to the top, but it's not permanent. It goes back when you click on another window. It should be on top all the time. May be like "System modal".
*
If you would have read the MSDN page I linked to, you'd have noticed this:
HWND_TOP
- Places the window at the top of the Z order.HWND_TOPMOST
- Places the window above all non-topmost windows. The window maintains its topmost position even when it is deactivated. :rose:
Too many passwords to remember? Try KeePass Password Safe!
-
If you would have read the MSDN page I linked to, you'd have noticed this:
HWND_TOP
- Places the window at the top of the Z order.HWND_TOPMOST
- Places the window above all non-topmost windows. The window maintains its topmost position even when it is deactivated. :rose:
Too many passwords to remember? Try KeePass Password Safe!