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

Method ControlSetUpDown

source/script_gui.cpp:1996–2002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1994
1995
1996ResultType GuiType::ControlSetUpDown(GuiControlType &aControl, int new_pos, ResultToken &aResultToken)
1997{
1998 // MSDN: "If the parameter is outside the control's specified range, nPos will be set to the nearest
1999 // valid value."
2000 SendMessage(aControl.hwnd, UDM_SETPOS32, 0, new_pos);
2001 return OK; // Don't break since don't want the other actions below to be taken.
2002}
2003
2004
2005ResultType GuiType::ControlGetUpDown(ResultToken &aResultToken, GuiControlType &aControl)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected