Skip navigation.
Home
The QNX Community Portal

View topic - Disable hotkeys

Disable hotkeys

Discussion about the QNX6 OS.

Disable hotkeys

Postby rafae11@yahoo.com » Wed Aug 28, 2013 4:04 pm

I want to disable the hot keys of a given dialog box using the PtRemoveHotkeyHandler()

how do i disable the alt + F4 hot key

thanks.
rafae11@yahoo.com
New Member
 
Posts: 6
Joined: Mon Jul 01, 2013 1:40 pm

Re: Disable hotkeys

Postby maschoen » Wed Aug 28, 2013 6:06 pm

I believe that Alt-F4 is handled by the window manager "pwm". There are a number of ways that you might be able to handle this.

1) See if there is a command line parameter for pwm that will accomplish this.
2) Check out the Dialog window properties and see if there is an option to turn it off.
3) See if you can interrupt Alt-F4 via the close callback of the dialog
4) If this is an embedded system, can you run without the window manager?
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX6 - OS

Who is online

Users browsing this forum: No registered users and 4 guests