blob: b1df7628c1ed9ad1782ab4365ce8303fc022b32d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{$IFNDEF M_CHANGEKEYBOARDLAYOUT}
{$DEFINE M_CHANGEKEYBOARDLAYOUT}
const
// change keyboard layout of text
// wParam - HWND or NULL for current window
// lParam must be 0
// returns 0 on success and returns non-zero (-1) on error.
MS_CKL_CHANGELAYOUT 'ChangeKeyboardLayout/ChangeLayout';
//wParam ������ ���� ����.
//lParam - LPCTSTR ������, ��������� �������� ��������� ����������,
//���������� HKL ��������� ������, ��� NULL � ������ ������.
//����������: ��� ����������� ��������� ����������� ����� "��������� ������ - ������� ���������"
MS_CKL_GETLAYOUTOFTEXT = 'ChangeKeyboardLayout/GetLayoutOfText';
type
CKLLayouts = record
hklFrom:HKL; // layout of the current text
hklTo :HKL; // layout of the result text
bTwoWay:bool;
end;
const
//wParam - LPCTSTR ��������� ������
//lParam - ��������� �� ��������� CKLLayouts, ���������� ��������� ���
//��������� ������ � ����� "���������������� ��������������"
//���������� LPTSTR �� �������������� ������
MS_CKL_CHANGETEXTLAYOUT = 'ChangeKeyboardLayout/ChangeTextLayout';
{$ENDIF}
|