MFC Grid manual

ILinePaintFormat Class Reference

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

#include <Dapfor/GUI/ILinePaintFormat.h>

Inheritance diagram for ILinePaintFormat:

CLinePaintFormat

List of all members.


Public Member Functions

virtual ~ILinePaintFormat ()
 Virtual destructor.
virtual void DrawLine (CGridLine &line, const CPaintContext &paintContext, UINT paintFilter, ICustomDraw *customDraw) const =0
 Paints a line in CGrid.
virtual BOOL IsSerializableType () const
 Indicates whether the object of the class which implements ILinePaintFormat 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 line in CGrid.

Version:
1.0.0.0 Initial version

Member Function Documentation

void DrawLine ( CGridLine line,
const CPaintContext paintContext,
UINT  paintFilter,
ICustomDraw customDraw 
) const [pure virtual]

Paints a line in CGrid.

Parameters:
[in] line Grid line-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 cells painting.

Implemented in CLinePaintFormat.

BOOL IsSerializableType (  )  const [virtual]

Indicates whether the object of the class which implements ILinePaintFormat 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