windows_programming_notes.nbk: Home | Index | Next Page: PBM_SETSTEP | Previous Page: PBM_SETRANGE
Sets the range of a progress bar control to a 32-bit value.
To send this message, call the SendMessage function as follows.
lResult = SendMessage( // returns LRESULT in lResult (HWND) hWndControl, // handle to destination control (UINT) PBM_SETRANGE32, // message ID (WPARAM) wParam, // = (WPARAM) (int) iLowLim; (LPARAM) lParam // = (LPARAM) (int) iHighLim; );
Returns a DWORD value that holds the previous 16-bit low limit in its low word and the previous 16-bit high limit in its high word. If the previous ranges were 32-bit values, the return value consists of the low words of both 32-bit limits.
To retrieve the entire high and low 32-bit values, use the PBM_GETRANGE message.
windows_programming_notes.nbk: Home | Index | Next Page: PBM_SETSTEP | Previous Page: PBM_SETRANGE
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time