Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining the control's handle
Message
From
02/07/2002 18:25:45
 
 
To
01/07/2002 14:31:45
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00674043
Message ID:
00674756
Views:
23
>How can I obtain the handle (hWnd) of a textbox or editbox?
>

Native VFP textbox and editbox controls do not have their own hWnds - they're user-rendered based on the hWnd of their container. You may want to use an ActiveX textbox/editbox instead of the natie VFP control classes, or with VFP7, might want to use the IAccessible interface tohandle the VFP controls - all VFP controls expose an IAccessible interface so that VFP 7 deliver MS Accessibility support.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform