-
Hi,
I have this statement that along with the API, opens Notepad
ShellExecute 0&, "OPEN", "A:\WageDet\Readme.txt", "", "", 1
My question is... What statement can I add so that when Notepad executes it is maximised, or do I need another API function to achieve this?
GRAHAM :)
-
For me it seems that all you have to do is to change the "1" at the end of your code to "3" and NotePad will be Maximized.
Code:
WAS:
ShellExecute 0&, "OPEN", "A:\WageDet\Readme.txt", "", "", 1
IS:
ShellExecute 0&, "OPEN", "A:\WageDet\Readme.txt", "", "", 3
HTH
-
Brilliant, thanks QWERTY
As a matter of fact I tried changing it to 2 to see what happened before I posted, shame I didn't try 3.
Thanks again
GRAHAM :D