Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send a keystroke to a hwnd window
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00889676
Message ID:
00889953
Views:
24
>I receive 'Cannot find entry point SHOWWINDOW in the DLL.' Has it been removed by any chance in XP? Same thing happens with the SETFOCUS declaration...

Nope, as was mentioned the declarations are case sensitive. Further, because SetFocus is a VFP method, you've got to give the API function an alias, hence the use of SetKeybdFocus.

While keybd_event has been superseded by SendInput in NT and above, it still works.
George

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

Click here to load this message in the networking platform