‘ Alt+F4 will now Exit Application When Alt+F4 Is pressed And ImagXpress has the focus.
ImagXpress1.KeysSetEnabled(KEYS_SYSTEM, True)
‘ Determine If pressing TAB key will change focus To next control.
Enabled = ImagXpress1.KeysGetEnabled(KEYS_ACCELERATOR)
Don’t fire the ImagXpress key events When Alt+F4 Is pressed.
ImagXpress1.KeysSetEnabled(KEYS_SYSTEM_FORWARD, False)
‘ Determine If the key events will be fired by pressing a TAB key.
Enabled = ImagXpress1.KeysGetEnabled(KEYS_ACCELERATOR_FORWARD)