Help Center
Help Center›AfxNova

CHotKey.SetRulesmethod

UncategorisedmethodCControls.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE SUB CHotKey.SetRules (BYVAL hHotKey AS HWND, BYVAL fwCombInv AS WORD, BYVAL fwModInv AS WORD)

Parameters

NameDescription
fwCombInvAn array of flags that specify invalid key combinations. This parameter can be a combination of the following values: Value Meaning HKCOMB_A ALT HKCOMB_C CTRL HKCOMB_CA CTRL+ALT HKCOMB_NONE Unmodified keys HKCOMB_S SHIFT HKCOMB_SA SHIFT+ALT HKCOMB_SC SHIFT+CTRL HKCOMB_SCA SHIFT+CTRL+ALT
fwModInvAn array of flags that specify the key combination to use when the user enters an invalid combination. For a list of modifier flag values, see the description of the HotKey_GetHotKey message.

Reference

  • Include file CControls.inc
  • Defined in AfxNova/CControls.inc:231