CODLineSizeLB Class

class CODLineSizeLB: public CListBox

CODLineSizeLB

Defined in: OdLineSizeLB.h

Class Members

VIEWS_API CODLineSizeLB()

Constructor

VIEWS_API virtual ~CODLineSizeLB()

Destructor

VIEWS_API int GetSelSize()

Returns the currently selected line size.

VIEWS_API void SelectSize(int nSize)

Sets the currently selected line size.

VIEWS_API virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)

Called when an item needs to be drawn.

VIEWS_API void SetFgColor(COLORREF clr)

Sets the displayed line foreground color.

VIEWS_API void GetFgColor(COLORREF& clr)

Sets the displayed line background color.

VIEWS_API 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.