Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HWND from a VFP EditBox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00412205
Message ID:
00412232
Vues:
21
>Does anybody know of a way to get an HWND from an editbox? I don't think this can be done, but before I give up I'll ask here...
>

It doesn't have its own; the hWnd is shared among all native VFP controls on a Form. If you need hWnd addressibility, you might try using an ActiveX control like the RichTextBox; ActiveX controls have their own hWnd, and there's a protected property that you can get named hWnd.

You can try using the hWnd of the Form (lots of ways to get it) but it doesn't point to the control directly.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform