Hello experts !
I need to trasnsfer char by API PostMessage. The window, that will recive messages will be VB text box. The window that recive message do NOT have focus and it must do NOT set active.
Char can be any from ASCII table. I do NOT need to simulate CTRL, ALT, SHIFT or other special keys.
The speed is important - if is possible I prefer to use ONE message for a char.
I know that solution is
PostMessage text1.hWnd, WM_KEYDOWN, wParam, lParam
PostMessage text1.hWnd, WM_CHAR , wParam, lParam
BUT I CAN NOT MAKE CORRECT wParam AND lParam VALUE THAT WORK FIND WITH ALL ASCII TABLE.
I use Visual Basic 6 with SP5, Win2000 or Win XP.