次の方法で共有


ToolBarView_t::FaceRect (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the bounding rectangle of the face of a button.

Syntax

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 Value

None.

Requirements

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

See Also

Reference

ToolBarView_t
GetSystemMetrics
RECT