1. Re: how to make a window stay
- Posted by cgibin at bellsouth.net Jan 20, 2003
- 384 views
void = c_func(xSetWindowPos,{hwnd, HWND_TOPMOST, 0,0,0,0, or_all({SWP_NOACTIVATE,SWP_NOMOVE,SWP_NOSIZE})}) ----- Original Message ----- From: "Bernie Ryan" <xotron at bluefrognet.net> Subject: re: how to make a window stay > A topmost window needs to have WS_EX_TOPMOST style. > You can also make a window a topmost window by calling the > SetWindowPos function and setting the hWndInsertAfter ( second parameter ) > to HWND_TOPMOST ( value ). > > Bernie