A
A
Archakov Dennis2016-05-04 00:51:13
Delphi
Archakov Dennis, 2016-05-04 00:51:13

How to make emulation of input of Russian letters on Delphi?

I know how to emulate the input of letters, but I need to make it Russian. For example, Zh, YO, X, Y letters on the keyboard as symbols.
To more accurately describe the issue, I note that sending letters goes to the text field on the site (Vkontakte). With the help of SendMessage, it is possible to send, but nothing is entered into the site element.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2016-05-04
@archakov06

Set focus to the element where you want to enter text. Further, through the winapi SendInput function, you emulate the operation of the keyboard. To display Russian letters, you need to set the Russian layout on the keyboard using the winapi function ActivateKeyboardLayout

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question