Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stuffing a windows dialog textbox using keybd_event
Message
From
18/03/2004 15:37:25
Doug Sherman
Douglas Sherman Consulting
Littleton, Colorado, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Stuffing a windows dialog textbox using keybd_event
Miscellaneous
Thread ID:
00887664
Message ID:
00887664
Views:
90
I want to stuff an applicaiton SAVEAS dialog box with a full pathname using the keybd_event API, one character at a time. The virtual key codes do not indicate how to 'stuff' characters like period, colon, and backslash, nor how to enter lowercase characters. The alpha and numeric characters in the virtual key list are all upper case characters.

I am using FindWindowEx and GetWindowText to obtain a handle to the dialog box window in question.

keybd_event looked simpler to use than the SendInput API and structures.

Thank you.
Doug Sherman
Next
Reply
Map
View

Click here to load this message in the networking platform