CODLineStyleLB Class

class CODLineStyleLB: public CListBox

CODLineStyleLB

Defined in: OdLineStyleLB.h

Class Members

 CODLineStyleLB()

Constructor

virtual  ~CODLineStyleLB()

Destructor

virtual void  DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)

Called when an item need to be drawn.

void  SetFgColor(COLORREF clr)

Sets the displayed line foreground color.

void  GetFgColor(COLORREF& clr)

Gets the displayed line foreground color.

int  GetSelStyle()

Gets the selected line style.

void  SelectStyle(int nStyle)

Sets the selected line style.

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.