mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[MPLAY32]
- Correctly set the trackbar range for long files. Patch by Ricardo Hanke (foreverwinter at hotmail dot de) CORE-7631 #resolve #comment Thanks! Committed in r61279 svn path=/trunk/; revision=61279
This commit is contained in:
@@ -231,7 +231,8 @@ OpenMciDevice(HWND hwnd, LPTSTR lpType, LPTSTR lpFileName)
|
||||
return dwError;
|
||||
}
|
||||
|
||||
SendMessage(hTrackBar, TBM_SETRANGE, (WPARAM) TRUE, (LPARAM) MAKELONG(1, mciStatus.dwReturn));
|
||||
SendMessage(hTrackBar, TBM_SETRANGEMIN, (WPARAM) TRUE, (LPARAM) 1);
|
||||
SendMessage(hTrackBar, TBM_SETRANGEMAX, (WPARAM) TRUE, (LPARAM) mciStatus.dwReturn);
|
||||
SendMessage(hTrackBar, TBM_SETPAGESIZE, 0, 10);
|
||||
SendMessage(hTrackBar, TBM_SETLINESIZE, 0, 1);
|
||||
SendMessage(hTrackBar, TBM_SETPOS, (WPARAM) TRUE, (LPARAM) 1);
|
||||
|
||||
Reference in New Issue
Block a user