Trackbar Controls
在WIN32下,通常是这样做的:
HWND hwndSlider = CreateWindowEx(WS_CHILD|WS_CHILD|TBS_HORZ,TRACKBAR_CLASS,….)
SendMessage(hwndSlider, TBM_SETRANGE, 1, MAKELONG(0,100));
SendMessage(hwndSlider, TBM_SETPOS, 1, 10);
在WIN32下,通常是这样做的:
HWND hwndSlider = CreateWindowEx(WS_CHILD|WS_CHILD|TBS_HORZ,TRACKBAR_CLASS,….)
SendMessage(hwndSlider, TBM_SETRANGE, 1, MAKELONG(0,100));
SendMessage(hwndSlider, TBM_SETPOS, 1, 10);