Share via


ListBoxView_t::ItemHeight (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the height of an item in a list box.

Syntax

static int ItemHeight(
  HWND hwnd,
  HDC hdc
);

Parameters

  • hwnd
    [in] Handle to a list box window. This value of this parameter is currently ignored.
  • hdc
    [in] Handle to the device context for the window.

Return Value

The return value is the height, in logical units that depend on the mapping mode, of the text in the list box.

Requirements

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

See Also

Reference

ListBoxView_t

Other Resources

GetTextMetrics