|
-
Apr 18th, 2000, 04:37 AM
#1
Thread Starter
Hyperactive Member
Hi, I need to open and minimize another program. I'm using:
Code:
'Launch File Minimized -> Not Minimizing
lretval = ShellExecute(0, "open", "0327000.exe", "", "D:\Program Files\Solomon IV\AP", SW_MINIMIZE)
'Get Handle
lhwnd = FindWindow(vbNullString, "Vendor Maintenance (03.270.00)")
'Try Again to Minimize -> Not Minimizing
Call Show Window(lhwnd, SW_MINIMIZE)
If I do this to something like Notepad, it works like a charm, but not on this program. What else can I use if a program doesn't respond to the API's that I tried?
Thanks in advance,
Wade
-
Apr 18th, 2000, 11:12 PM
#2
Frenzied Member
You'll be glad to know it looks like it's possible, damn hard but possible, There's a few thing I'm gonna have to iron out but I should get an answer for you.
-
Apr 19th, 2000, 12:43 AM
#3
transcendental analytic
This shoud work with everything
Code:
ShowWindow wnd&, 5 - IsWindowVisible(wnd&) * 5
OR?
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Apr 19th, 2000, 12:55 AM
#4
transcendental analytic
Heck! Were did that ; come from?!? i typed &) not
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|