::SetWindowPos(m_hWnd , // handle to window
HWND_TOPMOST, // placement-order handle
0, // horizontal position
0, // vertical position
0, // width
0, // height
SWP_NOMOVE|SWP_NOSIZE // window-positioning options);
}
Reply
Nice finding !
ReplyIs it possible to create a window which stays always on the top and it should be actve always. In this case when i click some other applications which is already opened, the focus of the window is lost. ie no other application should not work while this active window is there including the windows key. thankx jim
ReplyOriginally posted by: Ajit
Is there any way to restrict a dialog box to be "Always on Top" only for its parent application and not for whole system ? It will be something like "property pages". But I want it for the dialog box.
ReplyOriginally posted by: LinGuang
thank you!
ReplyOriginally posted by: Brandon
hey ya that code dont work for me i dont know why (as i just started taking a class few weaks ago, only in highschool) but at home i like to mes around, and like i was wondering like wats the script to make my dialog alwas on top (without having to click a button). Also the name of my dialog is: DisableClose so like if u can replace the name of like the C(wateveryourprogramis) cuz im newb >.<
Originally posted by: Claudia Azor�n
Hi, how can I do an always on top window with Flash (Remoting MX or ColdFusion), it's possible?
Or with JSP? I have to do that the content of a tutorial runs in an always on top window, like in the book serie Dr. Max? Do you know it?
Thank's you very much! :)
Originally posted by: david rush
...create an app/dialog which is never on top?
ReplyOriginally posted by: jacky.xue
Sorry i just can't find this file .Would you show me how to get this file ,or create my myself ?
ReplyOriginally posted by: joby
how to do this one in SDK..