Share via


PBM_GETRANGE (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 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.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Progress Bar Controls Messages