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

Method ControlSetProgress

source/script_gui.cpp:2034–2040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2032
2033
2034ResultType GuiType::ControlSetProgress(GuiControlType &aControl, int aValue, ResultToken &aResultToken)
2035{
2036 // Confirmed through testing (PBM_DELTAPOS was also tested): The control automatically deals
2037 // with out-of-range values by setting bar to min or max.
2038 SendMessage(aControl.hwnd, PBM_SETPOS, aValue, 0);
2039 return OK;
2040}
2041
2042
2043ResultType GuiType::ControlGetProgress(ResultToken &aResultToken, GuiControlType &aControl)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected