Public Types | |
enum | State { Normal, Hot, Pressed } |
State of a column. More... | |
Public Member Functions | |
CColumnPaintInfo (CHeaderPaintInfo &headerPaintInfo, const CColumn *column, CRect visibleRect, CRect virtualRect, State state, CFont *font, int imageIndex, COLORREF textColor) | |
Constructor. | |
const CHeaderPaintInfo & | GetHeaderPaintInfo () const |
Gets header-related information. | |
const CColumn * | GetColumn () const |
Gets the column that the information is associated with. | |
State | GetState () const |
Gets a column state. | |
const CRect & | GetVisibleRect () const |
Gets visible column bounds. | |
const CRect & | GetVirtualRect () const |
Gets virtual column bounds. | |
CFont * | GetFont () const |
Gets the font that is used to draw a text in a column. | |
COLORREF | GetTextColor () const |
Gets text color. |
enum State |
CColumnPaintInfo | ( | CHeaderPaintInfo & | headerPaintInfo, | |
const CColumn * | column, | |||
CRect | visibleRect, | |||
CRect | virtualRect, | |||
State | state, | |||
CFont * | font, | |||
int | imageIndex, | |||
COLORREF | textColor | |||
) |
Constructor.
[in] | headerPaintInfo | Header related paint information |
[in] | column | Pointer to the column, the information is associated with |
[in] | visibleRect | Column visible bounds |
[in] | virtualRect | Column virtual bounds |
[in] | state | Column state |
[in] | font | Font to draw a text in a column |
[in] | imageIndex | Image index to draw an icon in the column header |
[in] | textColor | Text color |
const CHeaderPaintInfo & GetHeaderPaintInfo | ( | ) | const [inline] |
Gets header-related information.
const CColumn * GetColumn | ( | ) | const [inline] |
Gets the column that the information is associated with.
CColumnPaintInfo::State GetState | ( | ) | const [inline] |
Gets a column state.
const CRect & GetVisibleRect | ( | ) | const [inline] |
Gets visible column bounds.
const CRect & GetVirtualRect | ( | ) | const [inline] |
Gets virtual column bounds.
CFont * GetFont | ( | ) | const [inline] |
Gets the font that is used to draw a text in a column.
COLORREF GetTextColor | ( | ) | const [inline] |
Gets text color.
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |