windows_programming_notes.nbk: Home | Index | Next Page: PBM_SETPOS | Previous Page: PBM_DELTAPOS


 PBM_GETRANGE

Retrieves information about the current high and low limits of a given progress bar control.

Syntax

To send this message, call the SendMessage function as follows.

    lResult = SendMessage(      // returns LRESULT in lResult     
        (HWND) hWndControl,     // handle to destination control
        (UINT) PBM_GETRANGE,    // message ID
        (WPARAM) wParam,        // = (WPARAM) (BOOL) fWhichLimit;
        (LPARAM) lParam         // = (LPARAM) (PPBRANGE) ppBRange;
    );  

Parameters

Return Value

Returns an INT that represents the limit value specified by fWhichLimit. If lParam is not NULL, lParam must point to a PBRANGE structure that is to be filled with both limit values.

Message Information


windows_programming_notes.nbk: Home | Index | Next Page: PBM_SETPOS | Previous Page: PBM_DELTAPOS


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time