CODLineStyleLB Class

class CODLineStyleLB: public CListBox

CODLineStyleLB

Defined in: OdLineStyleLB.h

Class Members

VIEWS_API CODLineStyleLB()

Constructor

VIEWS_API virtual ~CODLineStyleLB()

Destructor

VIEWS_API virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)

Called when an item need to be drawn.

VIEWS_API void SetFgColor(COLORREF clr)

Sets the displayed line foreground color.

VIEWS_API void GetFgColor(COLORREF& clr)

Gets the displayed line foreground color.

VIEWS_API int GetSelStyle()

Gets the selected line style.

VIEWS_API void SelectStyle(int nStyle)

Sets the selected line style.

VIEWS_API void Init()

Initializes the listbox with valid line style values.

COLORREF m_clrFG

Foreground color of the line.

LONG m_cyChar

Height of a character in the current listbox font.