Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2002.12.23;
Скачать: [xml.tar.bz2];

Вниз

Как переключить раскладку клавиатуры в чужом приложении?   Найти похожие ветки 

 
pag77   (2002-10-31 18:12) [0]

я тут в форуме поэтому вопросу поискал, но ничего конкретного не нашел. Может кто-нибудь знает как это делается?


 
rhf   (2002-11-01 02:16) [1]

WM_LANGCHANGEQUERY


 
Song   (2002-11-01 11:08) [2]

WM_INPUTLANGCHANGE


 
pag77   (2002-11-03 15:02) [3]

ну и че с ними делать?


 
pag77   (2002-11-05 18:54) [4]

ну и че с ними делать? тоесть, с каким параметром посылать?


 
pag77   (2002-11-07 19:21) [5]

а с каким параметром посылать?


 
Song   (2002-11-08 10:05) [6]

С параметром номера русской раскладки. В хэлпе всё написано.


 
pag77   (2002-11-08 18:20) [7]

>> Song © (08.11.02 10:05)
а у меня такого в хелпе нет. можно попросить от туда выписку по этой теме, или скинуть весь файл хелпа мне на е-майл?


 
Song   (2002-11-08 18:22) [8]

The WM_INPUTLANGCHANGEREQUEST message is posted to the application"s top-level window when the user chooses an input language, either with an input language change hotkey or from the system languages menu. An application can accept the change by passing the message to the DefWindowProc function or reject the change (and prevent it from taking place) by returning immediately.

WM_INPUTLANGCHANGEREQUEST
fSysCharSet = (BOOL) wParam
hkl = (HKL) lParam;


Parameters

wParam

The lowest bit of this parameter is set if the handle of the keyboard layout can be used with the system character set. The other bits are reserved. For example, in the Russian-language version of Windows 95, this parameter has the low bit set for keyboard layout handles for English (US) and Russian, but cleared for other handles.

hkl

Value of lParam. Identifies the keyboard layout to switch to.



Return Values

This message is posted, not sent, to the application, so the return value is ignored. To accept the change, the application should pass the message on to DefWindowProc. To reject the change, the application should return zero without calling DefWindowProc.


 
pag77   (2002-11-08 19:48) [9]

получилось. спасибо.
а как отправить сообщение всем приложениям?


 
pag77   (2002-11-08 20:10) [10]

уже нашел: HWND_BROADCAST
вопросов не имею.


 
С.М.   (2002-11-09 05:09) [11]

И от меня большое спасибо :-) нигде немог найти.



Страницы: 1 вся ветка

Форум: "WinAPI";
Текущий архив: 2002.12.23;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.46 MB
Время: 0.007 c
1-74743
Kolya
2002-12-12 18:01
2002.12.23
HTML в Делфи


1-74719
Лагутин Антон
2002-12-13 21:55
2002.12.23
Помогите с DBGrid


4-75036
Arkan
2002-11-09 22:35
2002.12.23
Помогите найти ошибку!


1-74797
ORF
2002-12-11 13:00
2002.12.23
Проблема с созданием редактора свойств компонента D6,D7


1-74739
Yurik
2002-12-13 16:43
2002.12.23
Run-time





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский