GreatOne
asked on
Always on Top
I have an application that consists soley of one form. I would like to add the option to make the window always on top. I have read other questions and tried using the SetWindowPos API. However, it doesnt exactly do what i want. If my app is running, and then I run another application, like notepad, and maximize notepad my application gets covered and therefore is not always on top. I want something like what happens when you choose Always on Top in Winzip. Winzip loses focus, but will never get covered and you can give it focus simply by clicking on it. Does anyone know how to do what im describing?
Thanks in advance.
Thanks in advance.
Have you tried compiling the applicaton and running from the exe? The SetWindowPOS call does not work in the design environment.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Kurvy,
That did the trick. Thanks for the help
That did the trick. Thanks for the help