class CODHatchLB: public CListBox
CODHatchLB
Defined in: OdHatchLB.h
VIEWS_API CODHatchLB()
Constructor
VIEWS_API virtual ~CODHatchLB()
Destructor
VIEWS_API virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
Called when an item is to be drawn.
VIEWS_API virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct)
Called when an item's measurements are needed.
VIEWS_API int GetSelHatch()
Gets the currently selected hatch style.
VIEWS_API void SelectHatch(int nHatch)
Sets the currently selected hatch style.
VIEWS_API void SetTransparent(BOOL bTransparent)
Gets hatch background transparency value.
VIEWS_API void GetTransparent(BOOL& bTransparent)
Sets hatch background transparency value.
VIEWS_API void SetFgColor(COLORREF clr)
Gets hatch foreground color.
VIEWS_API void GetFgColor(COLORREF& clr)
Sets hatch foreground color.
VIEWS_API void SetBkColor(COLORREF clr)
Gets hatch background color.
VIEWS_API void GetBkColor(COLORREF& clr)
Sets hatch background color.
VIEWS_API void Init()
Initializes the listbox with hatch values.
BOOL m_bTransparent
Hatch background transparency flag.
COLORREF m_clrFG
Hatch foreground color.
COLORREF m_clrBG
Hatch background color.
LONG m_cyChar
Height of char in the current listbox font.