Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API Help!?
Message
 
 
À
23/11/2000 08:33:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00444940
Message ID:
00444982
Vues:
9
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform