tags:

views:

82

answers:

1

How could I resize any given application window in c#?

(Perfect example would be to launch Explorer, and move it to 0,0 and resize it to 800 x 600)

+1  A: 

I think the code at the following link appears to do what you need by using PInvoke:

http://blogs.geekdojo.net/richard/archive/2003/09/24/181.aspx

The example starts Notepad then moves/resizes it.

porkchop