|
-
Jun 10th, 2000, 08:58 AM
#1
Thread Starter
Addicted Member
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 
-
Jun 10th, 2000, 09:28 AM
#2
Fanatic Member
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
-
Jun 10th, 2000, 09:37 AM
#3
Thread Starter
Addicted Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|