Share via


CImeCUIToolBar::OnOffButton::AdjustRect (Windows CE 5.0)

Send Feedback

This method retrieves the bounding rectangle of the ON/OFF button.

static void AdjustRect(  LPRECT lprcContent,  DWORD dwState);

Parameters

  • lprcContent
    [in, out] Pointer to a RECT structure that, on input, specifies the bounding rectangle where the ON/OFF button can be drawn. On output, this structure receives the actual bounding rectangle of the button, including the border of the button.
  • dwState
    [in] Unsigned, 32-bit integer that indicates the state of the button. The following table shows the possible values.
    Value Description
    CUIBUTTONSTATE_NORMAL Normal button state.
    CUIBUTTONSTATE_MOUSEOVER Mouse over button state.
    CUIBUTTONSTATE_PUSHED Pushed button state.
    CUIBUTTONSTATE_INACTIVE Inactive button state.
    CUIBUTTONSTATE_SELECTED Selected button state. This state can be combined with another state.

Return Values

None.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Imjpskin.h.

See Also

CImeCUIToolBar | RECT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.