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!

Force window to front in calling application only. 1

Status
Not open for further replies.

Draven74

Programmer
May 30, 2001
13
0
0
CA
Hi,

Does anyone know how to force a form to the front, but only within the calling application (hopefully using the SetWindowPos API)? I have a form that is displayed showing a progress indicator (therefore I don't want the form shown modally, which would halt program execution). I want the form to remain at the front while the user is within the application, but to disappear when they switch to another application. Now, here is the real trick. I want that form to be forced to the front once again when they return to the calling application.
Any ideas?
 
I had a similiar problem and this did the trick - simple is best, thanks guys.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top