MFC Grid manual

CHeaderPaintFormat Class Reference

Default implementation of IHeaderPaintFormat interface. More...

#include <Dapfor/GUI/HeaderPaintFormat.h>

Inheritance diagram for CHeaderPaintFormat:

IHeaderPaintFormat

List of all members.


Public Member Functions

 CHeaderPaintFormat ()
 Constructor.
 ~CHeaderPaintFormat ()
 Destructor.
virtual void DrawHeader (CHeaderPaintInfo &paintInfo, const CPaintContext &paintContext, UINT paintFilter, ICustomDraw *customDraw) const
 Draws a header in CGrid.

Detailed Description

Default implementation of IHeaderPaintFormat interface.

Version:
1.0.0.0 Initial version

Member Function Documentation

void DrawHeader ( CHeaderPaintInfo paintInfo,
const CPaintContext paintContext,
UINT  paintFilter,
ICustomDraw customDraw 
) const [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.

Implements IHeaderPaintFormat.