Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Window focus and Z order

Status
Not open for further replies.

Retsacnal

Programmer
Jan 24, 2002
5
0
0
AU
Is there a good way to keep one form always behind the other forms of my program.

Thanks
 
The SetWindowPos function in the Win32 API that will help you control the windows' position. The only problem occurs when you have 16 bit and 32 bit apps running together. If your app is 32 bit it will only stay on top(or behind) other 32 bit apps, the same goes for 16 bit apps.
 
If it's always behind then just Hide it or just Load it not Show it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top