-
June 8th, 2010, 10:59 PM
#1
Alternative to TopMost(Keeping a Window on top)
Basically, I am looking for a method to keep a window on top of an external window. In this case, I wish to keep my form on top of the Firefox window. I have the handle to the Firefox window, though I was wondering how I could do this.
I want it so that when I maximise another application over Firefox, my form stays behind it. And when Firefox is the primary window, my form is on top of it.
Any help would be greatly appriciated.
-
June 9th, 2010, 12:45 AM
#2
Re: Alternative to TopMost(Keeping a Window on top)
NOTE: I have developed a solution which involves using "WindowToPoint" across the application area at intervals of 5 pixels. It then checks whether the handle is the application/overlay, and if it isn't it returns false.
This works, and will be refined. Though if anyone has any easier or more optimised/managed methods, I'd like to know.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|