MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / ControlSetHotkey

Method ControlSetHotkey

source/script_gui.cpp:1979–1983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1977
1978
1979ResultType GuiType::ControlSetHotkey(GuiControlType &aControl, LPTSTR aContents, ResultToken &aResultToken)
1980{
1981 SendMessage(aControl.hwnd, HKM_SETHOTKEY, TextToHotkey(aContents), 0); // This will set it to "None" if aContents is blank.
1982 return OK;
1983}
1984
1985
1986ResultType GuiType::ControlGetHotkey(ResultToken &aResultToken, GuiControlType &aControl)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected