Making a Window stay on top of all programs.

Just starting out? Need help? Post your questions and find answers here.
ColBoy
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Feb 13, 2004 2:37 pm
Location: Ottawa, Canada
Contact:

Making a Window stay on top of all programs.

Post by ColBoy »

I've hunted through the forums, but couldn't find a solution. If I want a Window to remain on top of everything else, how can I do this. This is for Windows. In Delphi, you can set the form to StayOnTop.

Thanks, Colin
Colin
User avatar
mk-soft
Always Here
Always Here
Posts: 6252
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Making a Window stay on top of all programs.

Post by mk-soft »

Code: Select all

StickyWindow(#Window, Status)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
ColBoy
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Feb 13, 2004 2:37 pm
Location: Ottawa, Canada
Contact:

Re: Making a Window stay on top of all programs.

Post by ColBoy »

Brilliant. Thanks a lot.
Colin
Post Reply