Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stuffing a windows dialog textbox using keybd_event
Message
De
18/03/2004 15:37:25
Doug Sherman
Douglas Sherman Consulting
Littleton, Colorado, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Stuffing a windows dialog textbox using keybd_event
Divers
Thread ID:
00887664
Message ID:
00887664
Vues:
100
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform