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

Method ControlGetUpDown

source/script_gui.cpp:2005–2012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2003
2004
2005ResultType GuiType::ControlGetUpDown(ResultToken &aResultToken, GuiControlType &aControl)
2006{
2007 // Any out of range or non-numeric value in the buddy is ignored since error reporting is
2008 // left up to the script, which can compare contents of buddy to those of UpDown to check
2009 // validity if it wants.
2010 int pos = (int)SendMessage(aControl.hwnd, UDM_GETPOS32, 0, 0);
2011 _o_return(pos);
2012}
2013
2014
2015ResultType GuiType::ControlSetSlider(GuiControlType &aControl, int aValue, ResultToken &aResultToken)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected