Catching ALT+TAB for the window and prevent the switching

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3085
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Catching ALT+TAB for the window and prevent the switching

Post by ONEEYEMAN » Mon May 07, 2018 2:47 pm

Hi, ALL,
I'm on Linux (RHEL6) and in our software we are showing the full display screen where we asking for authorization to unlock the system.
Everything works fine, however the user can start the Terminal, go to the lock screen, then using ALT+TAB switch to the Terminal and type some command.

Since this is a "Lock Screen" window we would like to prevent the ALT+TAB switching.

Is it possible through the EVT_KEYBOARD_HOOK? Or maybe some other means?

Thank you for any info!

Post Reply