Share via


ToolBarView_t::DrawDropdownArrow (Windows Embedded CE 6.0)

1/6/2010

This method draws a drop-down arrow on a toolbar button.

Syntax

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 Value

None.

Requirements

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

See Also

Reference

ToolBarView_t
GetSystemMetrics
COLORREF