RemoveKeyboardShortcut()

Syntax

RemoveKeyboardShortcut(#Window, Shortcut)
Description
Removes a keyboard shortcut previously defined with AddKeyboardShortcut() from the specified #Window.

Parameters

#Window The window to use.
Shortcut The shortcut to remove. For a full list of the available shortcut, see AddKeyboardShortcut(). If this parameter is set to #PB_Shortcut_All, all the shortcuts are removed from the specified window.

Return value

None.

Example

  RemoveKeyboardShortcut(0, #PB_Shortcut_All) ; Remove all keyboard shortcuts of the window 0

See Also

AddKeyboardShortcut()

Supported OS

All

<- PostEvent() - Window Index - RemoveWindowTimer() ->