Показать сообщение отдельно
  #5  
Старый 24.01.2013, 09:27
Аватар для NumLock
NumLock NumLock вне форума
Let Me Show You
 
Регистрация: 30.04.2010
Адрес: Северодвинск
Сообщения: 5,426
Версия Delphi: 7, XE5
Репутация: 59586
По умолчанию

Microsoft® Win32® Programmer's Reference
Цитата:
The GetKeyboardLayout function retrieves the active keyboard layout for a specified thread. If the dwLayout parameter is zero, the layout for the active thread is returned.

HKL GetKeyboardLayout(
DWORD dwLayout // thread identifier
);

Parameters

dwLayout
Identifies the thread to query or is zero for the current thread.

Return Values

The return value is the keyboard layout handle for the thread. The low word contains a locale identifier identifying the input language and the high word contains a device handle identifying the physical layout of the keyboard.
__________________
Пишу программы за еду.
__________________
Ответить с цитированием