Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handle to a dialog
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00686948
Message ID:
00686973
Views:
40
>Hi All,
>
>I am looking for a way to get a handle from a dialogbox. Anybody here who can help me?
>
>TIA
>Boudewijn Lutgerink

VFP dialog? If so, and you're using 7.0, then there's the hWnd property. If 6.0 or earlier then
SET LIBRARY TO FOXTOOLS ADDITIVE
lnhWnd = _WhTohWnd(_WFindTitl(< form caption >)
Only problem could be if the dialog's modal. Then you'd have to first create the form without displaying it, get the window handle, then issue the Show() command passing 1 as a parameter.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform