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);

Leave a comment

您的邮箱地址不会被公开。 必填项已用 * 标注