Problem
- User try click Windows button and other to leave my AIR EXE app and get through other Windows app.
- When click in osc window, Windows Toolbars also got focus over my AIR EXE app
Solution
- 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
- Visual C++ Redistributable for Visual Studio 2012 Update 3
- Visual Studio 2012 Update 3 ISO or http://download.microsoft.com/download/D/4/8/D48D1AC2-A297-4C9E-A9D0-A218E6609F06/VS2012.3.iso
That's it! Happy Coding!
PS : Need 15GB Cloud for free? try here (referral link btw, I got 5GB/invite yeah!)
PS : Need 15GB Cloud for free? try here (referral link btw, I got 5GB/invite yeah!)
No comments:
Post a Comment