PBM_GETRANGE

This message retrieves information about the current high and low limits of a specified progress bar control.

PBM_GETRANGE wParam = (WPARAM)(BOOL) 
fWhichLimit;
lParam = (LPARAM)(PPBRANGE) ppBRange; 

Parameters

  • fWhichLimit
    Boolean that specifies which limit value is to be used as the messages return value. It is one of the following values:

    Value Description
    TRUE Return the low limit.
    FALSE Return the high limit.
  • ppBRange
    Pointer to a pointer to a PBRANGE structure that is to be filled with the high and low limits of the progress bar control. If this parameter is set to NULL, the control will return only the limit specified by fWhichLimit.

Return Values

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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.