CODSizeListBox Class

class CODSizeListBox: public CListBox

Font point size owner-drawn list box.

Defined in: OdFontCompPP.h

Class Members

VIEWS_API int AddSize(int PointSize, LONG lfHeight)

Adds a point size to the list box.

VIEWS_API void GetPointSize(LONG& cy)

Retrieves the currently selected point size.

VIEWS_API LONG GetHeight(int sel=-1)

Retrieves the height (in logical units) of the currently selected point size.

VIEWS_API void UpdateLogFont( LPLOGFONT lpLF, int sel=-1 )

Updates the passed font structure based on point size information for the value at the passed selection index.