Get the minimum position of a Track Bar control.
cGetTrackMin (window-handle)
(i) window-handle Windows handle to a Track Bar common control.
(i) Postion Minimum position setting of Track Bar.
This function returns the minimum position of Track Bar control. The minimum position of the control is application specific and can change dynamically.
The class name for the Tool Bar control is "msctls_trackbar32".
AddExtender("wwctl44i.dll",0,"wwctl64i.dll")
; Find the key board track bar handle Run("rundll32.exe", "shell32.dll,Control_RunDLL main.cpl,Keyboard") hwndex = DllHwnd("Keyboard Properties") hwnd = cWndbyclass(hwndex,"#32770") hwnd = cWndbyclass(hwnd,"msctls_trackbar32") ; Get the current position. Position = cGetTrackPos(hwnd) ; Move the position down one Position = Position - 1 If position >= cGetTrackMin(hwnd) If cSetTrackPos(hwnd, Position) Message("Repeat delay", Position) Else Message("Repeat delay", "%Postition% failed") EndIf Else Message("Repeat delay", "Currently at minimum position") EndIf Exit