Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API Help!?
Message
 
 
To
23/11/2000 08:33:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00444940
Message ID:
00444982
Views:
8
Tim,
>a) Close another program (I tried:
>DECLARE SHORT CloseHandle IN WIN32API INTEGER hHandle
>DECLARE INTEGER FindWindow IN Win32API STRING, STRING
>hWnd = FindWindow(0,'Print Controller')
>=CloseHandle(hWnd)
>

Check out the API section for the SendMessage WinAPI function. The example shows sending a WM_CLOSE message.

>b) Run a program in the background. (I tried the LaunchApp via
>CreateProcess the ShowWindow which works but the screen jumps around a lot..)
>
>but I would like the program to startup run in the background or hidden
>from the calling EXE.)
>
>c) Check the Print Queue if all jobs are completed...
>

Check out www.foxprinter.com. It provides a wrapper for the Printer API functions.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform