bOk = MTblQueryButtonHotkey( hWndTbl, nrKey, brControl, brShift, brAlt )

Queries the hotkey for (M!Table-) buttons.

Parameters
hWndTbl
Window Handle: Handle of the table.

nrKey
Receive Number: The defined virtual key code. 0 means that no hotkey is defined.

brControl
Receive Boolean: The defined <Ctrl> key option.

brShift
Receive Boolean: The defined <Shift> key option.

brAlt
Receive Boolean: The defined <Alt> key option.

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example
In this example is determined whether a hotkey is defined:

If MTblQueryButtonHotkey( hWndTbl, nKey, bCtrl, bShift, bAlt ) AND nKey
  bKeyDefined = TRUE

See also
Buttons

Created with the Personal Edition of HelpNDoc: Free help authoring environment