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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximize another application

Status
Not open for further replies.

cjelec

Programmer
Jan 5, 2007
491
GB
VB.net 2003 .net 1.1

Hi,

I know that this may be a stupidly easy one, but:

How do I maximize another applications window?

I am starting an application with the Process class in minimize, and at a given point I need to maximize it.

Is there a way to send a maximize command using the handle?
Is there a global (standard) key combination to maximize a window?

AppActivate(...) doesn't really do anything.

Thanks in advance for any help
 
Why, why, did I most this in this forum.

Please ignore this thread.

Sorry to all [blush]
 
Yes, shame on you.

But yes, you should be able to maximize it using the handle. (or set it full screen, or whatever). I've done that before... if you can't find your answer, let me know and I'll look at some of my old code.



Just my 2¢
-Cole's Law: Shredded cabbage

--Greg
 
Someone did try to help me on the (correct) vb.net forum, but it didn't work. I was trying to maximize a game (Directx) window, and none of the api calls would work (focus, maximize, sendkeys, mouse click...). So I have given up for the moment.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top