| 2013 | |
| 2014 | |
| 2015 | ResultType GuiType::ControlSetSlider(GuiControlType &aControl, int aValue, ResultToken &aResultToken) |
| 2016 | { |
| 2017 | // Confirmed this fact from MSDN: That the control automatically deals with out-of-range values |
| 2018 | // by setting slider to min or max: |
| 2019 | SendMessage(aControl.hwnd, TBM_SETPOS, TRUE, ControlInvertSliderIfNeeded(aControl, aValue)); |
| 2020 | // Above msg has no return value. |
| 2021 | return OK; // Don't break since don't want the other actions below to be taken. |
| 2022 | } |
| 2023 | |
| 2024 | |
| 2025 | ResultType GuiType::ControlGetSlider(ResultToken &aResultToken, GuiControlType &aControl) |
nothing calls this directly
no outgoing calls
no test coverage detected