Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RedrawWindow Function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00444387
Message ID:
00444416
Vues:
16
Only for Top-level windows (e.g. VFP _Screen or a form configured to run as Top-level).

>>>Holy cow! Thanks a lot Mike, I would have never figured that out! I really do appreciate it.
>>
>>George
>>
>>Just a note for any lurkers out there. Prior to VFP 7.0, you'll have to use AddProperty() to add the hWnd property and, of course, initialize it (probably with Foxtools).
>
>
>Yes, I noticed that VFP 7 makes it a lot easier to get the hWnd. What I am doing (and I hope it is correct) is:
>
>DECLARE INTEGER FindWindow IN Win32API STRING, STRING
>DECLARE INTEGER SetForegroundWindow IN "User32.dll" INTEGER
>hWnd = FindWindow(0,"Account Analysis Input")
>
>where the "Account Analysis Input" is the caption of my form. This will work, correct? (VFP 6, SP4)
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