How to bring a Form to the foreground? (top of the Windows Z order)

Darrell L.
Mississauga, ON

Apr 10, 2013
17 Posts

0  |  0  

Re: How to bring a Form to the foreground? (top of the Windows Z order)

I have a Form object that starts other Windows processes during its "Initialize" event.

Once the other processes have loaded, my Main form always goes to back of the Windows Z order.

Using the Form's Focus() method does not bring it to the front nor can I find a BringToFront() method (or similar).

How do I achieve this?

Thanks,

Darrell.

DrATEasy (Ron Y.)
Mission Viejo, CA

Apr 10, 2013
358 Posts

0  |  0  

Re: How to bring a Form to the foreground? (top of the Windows Z order)

Take a look at the following knowledge base article:

https://www.marvintest.com/KnowledgeBase/KBArticle.aspx?ID=54

Darrell L.
Mississauga, ON

Apr 10, 2013
17 Posts

0  |  0  

Re: How to bring a Form to the foreground? (top of the Windows Z order)

Thanks, Ron... was hoping to not have to use the Win32 API :)

Cheers,

D.



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]