Disable hotkeys

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

how do i disable the alt + F4 hot key


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?