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

Method ControlGetSlider

source/script_gui.cpp:2025–2031  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2023
2024
2025ResultType GuiType::ControlGetSlider(ResultToken &aResultToken, GuiControlType &aControl)
2026{
2027 _o_return(ControlInvertSliderIfNeeded(aControl, (int)SendMessage(aControl.hwnd, TBM_GETPOS, 0, 0)));
2028 // Above assigns it as a signed value because testing shows a slider can have part or all of its
2029 // available range consist of negative values. 32-bit values are supported if the range is set
2030 // with the right messages.
2031}
2032
2033
2034ResultType GuiType::ControlSetProgress(GuiControlType &aControl, int aValue, ResultToken &aResultToken)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected