Wednesday, July 31, 2013

[C#] Disable System Keys on Windows On-Screen Keyboard

Again! I've project that required Windows On-Screen Keyboard, I've 2 choices, one is create my own, or two use native osk.exe, I pick 2nd option but that just like I said "All solution has it own problem" LOL


  1. User try click Windows button and other to leave my AIR EXE app and get through other Windows app.
  2. When click in osc window, Windows Toolbars also got focus over my AIR EXE app


  • use C# to Hook user KeyBoard (that including osk too!) and block and system key also fantasy combination e.g. Alt+Tab, Ctrl+Shift+Esc
  • then use AIR Native Process to call it yeah!

Source Code

Note to self

Post a Comment