‘ 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)