ToolBarView_t::DrawDropdownArrow (Windows CE 5.0)
This method draws a drop-down arrow on a toolbar button.
static void DrawDropdownArrow(HDC hdc,int x,int y,int dx,int dy,int cxEdge,int cyEdge,int cyBorder,COLORREF clrBtnFace,int cxDropdownArrow,int yOffset);
Parameters
- hdc
[in] Handle to the device context for the window. - x
[in] Integer that specifies the x-coordinate at which the operating system (OS) should start drawing the button. - y
[in] Integer that specifies the y-coordinate at which the OS should start drawing the button. - dx
[in] Integer that specifies the width of the button. - dy
[in] Integer that specifies the height 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. - cyBorder
[in] Integer that specifies the height of the border of the button. Contains the value that calling GetSystemMetrics with a value of SM_CYBORDER returns. - clrBtnFace
[in] Value of type COLORREF that specifies the color that the OS should use to draw the face of the button. - cxDropdownArrow
[in] Integer that specifies the width of a drop-down arrow that an application created by using the TBSTYLE_DROPDOWN style. - yOffset
[in] Integer that specifies a y-coordinate at which the OS should begin drawing the drop-down arrow.
Return Values
None.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Toolbarview.hpp.
See Also
ToolBarView_t | GetSystemMetrics | COLORREF
Send Feedback on this topic to the authors