PBM_GETRANGE (Windows CE 5.0)

Send Feedback

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 message's 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

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

Progress Bar Controls Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.