Public Member Functions | |
CColumnPaintFormat () | |
Default constructor. | |
~CColumnPaintFormat () | |
Virtual destructor. | |
virtual void | DrawColumn (CColumnPaintInfo &paintInfo, const CPaintContext &paintContext, UINT paintFilter) const |
Draws a column in a header. | |
virtual IColumnPaintFormat * | Clone () const |
Gets a clone of an object. | |
virtual int | GetRequiredSortInfoWidth () const |
Calculates a width, required by a sort icon. | |
virtual void | DrawBackground (CColumnPaintInfo &paintInfo, const CPaintContext &paintContext, UINT paintFilter) const |
Draws a background of a column in CGrid. | |
virtual void | DrawSort (CColumnPaintInfo &paintInfo, const CPaintContext &paintContext, UINT paintFilter) const |
Draws a sort icon in CGrid. | |
virtual void | DrawText (CColumnPaintInfo &paintInfo, const CPaintContext &paintContext, UINT paintFilter) const |
Draws a text of a column in CGrid. | |
virtual void | DrawImage (CImageList *imageList, int index, const CRect rc, CDC &dc) const |
Draws an image in a column in CGrid. |
void DrawColumn | ( | CColumnPaintInfo & | paintInfo, | |
const CPaintContext & | paintContext, | |||
UINT | paintFilter | |||
) | const [virtual] |
Draws a column in a header.
[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. |
Implements IColumnPaintFormat.
IColumnPaintFormat * Clone | ( | ) | const [virtual] |
int GetRequiredSortInfoWidth | ( | ) | const [virtual] |
Calculates a width, required by a sort icon.
void DrawBackground | ( | CColumnPaintInfo & | paintInfo, | |
const CPaintContext & | paintContext, | |||
UINT | paintFilter | |||
) | const [virtual] |
Draws a background of a column in CGrid.
[in] | paintInfo | Column related information. |
[in] | paintContext | Contains common information like device context, header, grid etc. |
[in] | paintFilter | Set of the painting operations, defined in PaintFilter enumeration. |
void DrawSort | ( | CColumnPaintInfo & | paintInfo, | |
const CPaintContext & | paintContext, | |||
UINT | paintFilter | |||
) | const [virtual] |
Draws a sort icon in CGrid.
[in] | paintInfo | Column related information. |
[in] | paintContext | Contains common information like device context, header, grid etc. |
[in] | paintFilter | Set of the painting operations, defined in PaintFilter enumeration. |
void DrawText | ( | CColumnPaintInfo & | paintInfo, | |
const CPaintContext & | paintContext, | |||
UINT | paintFilter | |||
) | const [virtual] |
Draws a text of a column in CGrid.
[in] | paintInfo | Column related information. |
[in] | paintContext | Contains common information like device context, header, grid etc. |
[in] | paintFilter | Set of the painting operations, defined in PaintFilter enumeration. |
void DrawImage | ( | CImageList * | imageList, | |
int | index, | |||
const CRect | rc, | |||
CDC & | dc | |||
) | const [virtual] |
Draws an image in a column in CGrid.
[in] | imageList | Image list which contains the icons. |
[in] | index | Zero-based index of an icon in the image list. If index equals to -1, the icon won't be drawn. |
[in] | rc | Rectangle, where the icon is drawn. |
[in] | dc | Device context |
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by ![]() |