Share via


ToolBarView_t::CalcOffset (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

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 Value

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

Header toolbarview.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ToolBarView_t