ToolBarView_t::CalcOffset
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
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.