Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Form reference by hwnd number
Message
De
26/05/2003 07:44:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/05/2003 04:46:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00792791
Message ID:
00792804
Vues:
18
>Hi
>
>i uses GetActiveWindow(), it return one Hwnd.
>
>Exist a fast command for get Form Object reference of the hwnd ?
>
>Example:
>
>thisForm=SomeCommand(thisForm.Hwnd) is true.
>
>Fabio

GetActiveWindow() doesn't return particular form window handle (unless toplevel) but main hwnd window.
Assuming you've the right hwnd I think you still would need to loop _screen.forms collection to find out the form.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform