Share via


ListBoxView_t::TopCoordinate (Windows Embedded CE 6.0)

1/6/2010

This method determines the y-coordinate at which the text for a list box item should be drawn.

Syntax

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

Parameters

  • hdc
    [in] Handle to the device context for the window. This value of this parameter is currently ignored.
  • lprc
    [in] Pointer to a RECT structure that specifies the current drawing area of an item in a list box.
  • ascent
    [in] Integer that specifies the ascent of the characters in the text for the list box. This value of this parameter is currently ignored.

Return Value

The return value is the y-coordinate at which the text for a list box should be drawn.

Requirements

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

See Also

Reference

ListBoxView_t
RECT