The TBM_SETTHUMBLENGTH message sets the length of the slider in a trackbar. This message is ignored if the trackbar does not have the TBS_FIXEDLENGTH style.
TBM_SETTHUMBLENGTH wParam = (WPARAM) (UINT) iLength; lParam = 0;
No return value.
TBM_GETTHUMBLENGTH