CODLineSizeLB Class

class CODLineSizeLB: public CListBox

CODLineSizeLB

Defined in: OdLineSizeLB.h

Class Members

 CODLineSizeLB()

Constructor

virtual  ~CODLineSizeLB()

Destructor

int  GetSelSize()

Returns the currently selected line size.

void  SelectSize(int nSize)

Sets the currently selected line size.

virtual void  DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)

Called when an item needs to be drawn.

void  SetFgColor(COLORREF clr)

Sets the displayed line foreground color.

void  GetFgColor(COLORREF& clr)

Sets the displayed line background color.

void  Init()

Initializes the listbox with available line size values.

COLORREF m_clrFG

The currently selected foreground color.

LONG m_cyChar

The height of a character in the current listbox font.