Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Feb : Advice on how to use ActivateKeyboardLayout

www.cryer.info
Managed Newsgroup Archive

Advice on how to use ActivateKeyboardLayout

Subject:Advice on how to use ActivateKeyboardLayout
Posted by:"Florian Haag" (florianha..@freenet.de)
Date:14 Feb 2005 00:40:43

Hi,
I'm writing an application that should temporarily (i.e. while certain edit boxes are selected) switch to another keyboard layout.
I found LoadKeyboardLayout and ActivateKeyboardLayout, but the help doesn't seem (at least to me) to be quite clear about the following:
Do I have to make sure a keyboard layout has not been previously loaded in Windows (i.e. available in the language bar menu) so it does not get deleted from that list by calling UnloadKeyboardLayout upon quitting my app?
If so, how can I determine whether or not a certain keyboard layout/input locale is already loaded; there doesn't seem to be anything such as IsKeyboardLayoutLoaded ...

TIA
Florian Haag

Replies:

www.cryer.info
Managed Newsgroup Archive