MFC Grid manual

IColumnPaintFormat Class Reference

Interface to paint a header in CGrid. More...

#include <Dapfor/GUI/IColumnPaintFormat.h>

Inheritance diagram for IColumnPaintFormat:

CColumnPaintFormat

List of all members.


Public Member Functions

virtual ~IColumnPaintFormat ()
 Virtual destructor.
virtual void DrawColumn (CColumnPaintInfo &paintInfo, const CPaintContext &paintContext, UINT paintFilter) const =0
 Draws a column in a header.
virtual IColumnPaintFormatClone () const =0
 Gets a clone of an object.
virtual BOOL IsSerializableType () const
 Indicates whether the object of the class which implements IColumnPaintFormat is serializable.
virtual CString GetFormatName () const
 Gets a format name.
virtual void Serialize (CArchive &ar)
 Serializes an object to the archive.

Detailed Description

Interface to paint a header in CGrid.

Version:
1.0.0 Initial version

Member Function Documentation

void DrawColumn ( CColumnPaintInfo paintInfo,
const CPaintContext paintContext,
UINT  paintFilter 
) const [pure virtual]

Draws a column in a header.

Parameters:
[in] paintInfo Column related information
[in] paintContext Contains common information like device context, header, grid etc.
[in] paintFilter Set of painting operations, defined in PaintFilter enumeration.

Implemented in CColumnPaintFormat.

IColumnPaintFormat * Clone (  )  const [pure virtual]

Gets a clone of an object.

Returns:
Deep copy of the object.

Implemented in CColumnPaintFormat.

BOOL IsSerializableType (  )  const [virtual]

Indicates whether the object of the class which implements IColumnPaintFormat is serializable.

Returns:
True if the object is serializable

CString GetFormatName (  )  const [virtual]

Gets a format name.

Returns:
Format name

void Serialize ( CArchive &  ar  )  [virtual]

Serializes an object to the archive.

Parameters:
[in] ar Archive to serialize an object.