CODSizeListBox Class

class CODSizeListBox: public CListBox

Font point size owner-drawn list box.

Defined in: OdFontCompPP.h

Class Members

int  AddSize(int PointSize, LONG lfHeight)

Adds a point size to the list box.

void  GetPointSize(LONG& cy)

Retrieves the currently selected point size.

LONG  GetHeight(int sel=-1)

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

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.