Compartilhar via


ToolBarView_t::CalcOffset (Windows CE 5.0)

Send Feedback

This method determines the offset at which the button image on a toolbar is drawn when the button is pressed or in a checked state.

static void CalcOffset(int* pxOffset,int* pyOffset);

Parameters

  • pxOffset
    [out] Pointer to an integer that receives the x-coordinate of the offset.
  • pyOffset
    [out] Pointer to an integer that receives the y-coordinate of the offset.

Return Values

None.

Remarks

When a user chooses a toolbar button, the button image moves downward and to the right by the offset that this method calculates.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Toolbarview.hpp.

See Also

ToolBarView_t

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.