blob: 99f7ddcdd7efd9654aa7b87bf4475d6915861bc6 (
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:PAnsiChar = 'ChangeKeyboardLayout/ChangeLayout';
//wParam ������ ���� ����.
//lParam - LPCTSTR ������, ��������� �������� ��������� ����������,
//���������� HKL ��������� ������, ��� NULL � ������ ������.
//����������: ��� ����������� ��������� ����������� ����� "��������� ������ - ������� ���������"
MS_CKL_GETLAYOUTOFTEXT:PAnsiChar = '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:PAnsiChar = 'ChangeKeyboardLayout/ChangeTextLayout';
{$ENDIF}
|