ToolBarView_t::FaceRect (Windows CE 5.0)
This method retrieves the bounding rectangle of the face of a button.
static void FaceRect(RECT* prcButton,int cxEdge,int cyEdge);
Parameters
- prcButton
[in, out] Pointer to a RECT structure that on input specifies the bounding rectangle of the toolbar button, including the borders of the button. On output, this structure receives the bounding rectangle of the face of the toolbar button, which excluded the borders of the button. - cxEdge
[in] Integer that specifies the width of the 3-D border of the button. Contains the value that calling GetSystemMetrics with a value of SM_CXEDGE returns. - cyEdge
[in] Integer that specifies the height of the 3-D border of the button. Contains the value that calling GetSystemMetrics with a value of SM_CYEDGE returns.
Return Values
None.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Toolbarview.hpp.
See Also
ToolBarView_t | GetSystemMetrics | RECT
Send Feedback on this topic to the authors