Re: how to make a window stay

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu