ToolBarView_t::CalcOffset (Windows CE 5.0)
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
Send Feedback on this topic to the authors