ListBoxView_t::TopCoordinate (Windows CE 5.0)
This method determines the y-coordinate at which the text for a list box item should be drawn.
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 Values
The return value is the y-coordinate at which the text for a list box should be drawn.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Listboxview.hpp.
See Also
Send Feedback on this topic to the authors