lResult = SendMessage((HWND) TrackBar,(UINT) TBM_SETRANGE,(WPARAM) TRUE,(LPARAM) MAKELONG(0,1000));
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpCmdLine, INT nCmdShow) { InitCommonControls();