Harry Hunt
07-08-2004, 11:01 AM
Hi!
I'm writing a program that launches an external application and then resizes it and moves it to a certain position on the screen. This works okay for applications that aren't maximized, however with apps that are maximized it doesn't work at all. So my question is: how can I force an external application to un-maximize?
I tried ShowWindow(ExtHandle, SW_SHOWNORMAL); but that doesn't work.
Thanks a bunch!
I'm writing a program that launches an external application and then resizes it and moves it to a certain position on the screen. This works okay for applications that aren't maximized, however with apps that are maximized it doesn't work at all. So my question is: how can I force an external application to un-maximize?
I tried ShowWindow(ExtHandle, SW_SHOWNORMAL); but that doesn't work.
Thanks a bunch!