Share via


ComboBoxView_t::TopCoordinate (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the y-coordinate of the top of the bounding rectangle for a combo box.

Syntax

static int TopCoordinate(
  HDC hdc,
  RECT* lprc
);

Parameters

  • hdc
    [in] Handle to a device context.
  • lprc
    [in] Pointer to a RECT structure that specifies the current drawing area of the edit control for a combo box.

Return Value

The return value is the y-coordinate of the top of the bounding rectangle for the edit control of a combo box.

Requirements

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

See Also

Reference

ComboBoxView_t
RECT