MFC Grid manual

IHeaderPaintFormat Class Reference

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

#include <Dapfor/GUI/IHeaderPaintFormat.h>

Inheritance diagram for IHeaderPaintFormat:

CHeaderPaintFormat

List of all members.


Public Member Functions

virtual ~IHeaderPaintFormat ()
 Virtual destructor.
virtual void DrawHeader (CHeaderPaintInfo &paintInfo, const CPaintContext &paintContext, UINT paintFilter, ICustomDraw *customDraw) const =0
 Draws a header in CGrid.
virtual BOOL IsSerializableType () const
 Indicates whether the object of the class which implements IHeaderPaintFormat 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.0 Initial version

Member Function Documentation

void DrawHeader ( CHeaderPaintInfo paintInfo,
const CPaintContext paintContext,
UINT  paintFilter,
ICustomDraw customDraw 
) const [pure virtual]

Draws a header in CGrid.

Parameters:
[in] paintInfo Header-related painting info.
[in] paintContext General information like device context, reference to CGrid, header, etc...
[in] paintFilter Set of painting operations, defined in PaintFilter enumeration.
[in] customDraw Pointer to ICustomDraw interface, that can be called to process columns painting.

Implemented in CHeaderPaintFormat.

BOOL IsSerializableType (  )  const [virtual]

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

Returns:
True if the object is serializable. Otherwise false.

CString GetFormatName (  )  const [virtual]

Gets a format name.

Returns:
A format name

void Serialize ( CArchive &  ar  )  [virtual]

Serializes an object to the archive.

Parameters:
[in] ar Reference to the archive