windows_programming_notes.nbk: Home | Index | Next Page: PBM_GETRANGE | Previous Page: PAINTSTRUCT
Advances the current position of a progress bar by a specified increment and redraws the bar to reflect the new position.
To send this message, call the SendMessage function as follows.
lResult = SendMessage( // returns LRESULT in lResult (HWND) hWndControl, // handle to destination control (UINT) PBM_DELTAPOS, // message ID (WPARAM) wParam, // = (WPARAM) (int) nIncrement; (LPARAM) lParam // = 0; not used, must be zero );
Returns the previous position.
If the increment results in a value outside the range of the control, the position is set to the nearest boundary.
The behavior of this message is undefined if it is sent to a control that has the PBS_MARQUEE style.
windows_programming_notes.nbk: Home | Index | Next Page: PBM_GETRANGE | Previous Page: PAINTSTRUCT
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time