AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

keyboard layout

Ein Thema von chukalv · begonnen am 7. Jan 2007 · letzter Beitrag vom 9. Jan 2007
 
Olli
(Gast)

n/a Beiträge
 
#4

Re: keyboard layout

  Alt 8. Jan 2007, 10:41
If you ask me, other ways seem just as "dirty" as the first. However, what you can possibly do is to hook the input and wait for your "hotkey". Then, as soon as the hotkey gets pressed, you send input to the current window and in the context of the current process. This should suffice to switch the language. However, you'll have to have a way to check the current input language, you'll need a way to enumerate existing layouts and a way to check which system-wide setting exists for the input language switching hotkey (so you send the right one). All in all quite much for such a simple functionality.

Another method could be (for Unicode text fields in other apps) to inject the DLL and subclass the control (i.e. the text field) so that you can manipulate the respective messages ... was it WM_CHAR and WM_IME_CHAR?!
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:47 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz