Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using FINDWINDOW
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00794357
Message ID:
00794450
Vues:
10
Hi Tao,

The FindWindow function is declared as follows:
DECLARE INTEGER FindWindow IN user32;
	STRING lpClassName, STRING lpWindowName
If you are not sure about window's class set it to Null, e.g.
hWindow = FindWindow(Null, 'Calculator')
If succeedes the FindWindow returns a handle to the window, otherwise it returns zero.

* * *
Check code samples with FindWindow function:

Activating Windows Calculator
http://www.news2news.com/vfp/?example=26

Scanning a hierarchy of child windows down from the main VFP window
http://www.news2news.com/vfp/?example=261
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform