Share via


ComboBoxView_t::TopCoordinate

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

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 Values

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Comboboxview.hpp.

See Also

RECT

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.