CGridListCtrlEx
Public Member Functions | List of all members
CGridRowTrait Class Reference

CGridRowTrait specifies an interface for handling custom drawing at row-level. More...

Inheritance diagram for CGridRowTrait:
CGridRowTraitText CGridRowTraitXP

Public Member Functions

virtual void OnCustomDraw (CGridListCtrlEx &owner, NMLVCUSTOMDRAW *pLVCD, LRESULT *pResult)
 Override OnCustomDraw() to provide your own special row-drawing.
 
virtual void Accept (CGridRowTraitVisitor &visitor)
 Override Accept() and update CGridColumnTraitVisitor for new column-trait classes. More...
 

Detailed Description

CGridRowTrait specifies an interface for handling custom drawing at row-level.

Member Function Documentation

virtual void CGridRowTrait::Accept ( CGridRowTraitVisitor visitor)
inlinevirtual

Override Accept() and update CGridColumnTraitVisitor for new column-trait classes.

  • Will enable the use of the visitor-pattern ex. for serialization of column-traits

Reimplemented in CGridRowTraitText, and CGridRowTraitXP.