Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stuffing a windows dialog textbox using keybd_event
Message
 
To
18/03/2004 15:37:25
Doug Sherman
Douglas Sherman Consulting
Littleton, Colorado, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00887664
Message ID:
00887803
Views:
10
>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.

If you have C++ installed, you can find the VK_ codes in WinUser.h. I _think_, but am not sure, that the letters are sent as lowercase, and you can uppercase them by using the VK_SHIFT code in the shift parameter to the function, along with a KeyDown message.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform