Public Member Functions | |
CGridLine (const CPaintInfo &paintInfo, ContextType contextType, int row, HITEM item, bool isPreviusRowSelected, bool isNextRowSelected) | |
Constructor. | |
CGridLine (const CGridLine &line) | |
Copy constructor. | |
const CPaintInfo & | GetPaintInfo () const |
Gets paint info. | |
CPaintInfo & | GetPaintInfo () |
Gets paint info. Const version. | |
ContextType | GetContextType () const |
Gets a context type where the data object was inserted. | |
int | GetRow () const |
Gets a zero-based index in the specified context. | |
HITEM | GetItem () const |
Gets an item handle. | |
bool | IsRowSelected () const |
Indicates whether a line is selected. | |
bool | IsPreviusRowSelected () const |
Indicates whether the previous line is selected. | |
bool | IsNextRowSelected () const |
Indicates whether the next line is selected. | |
long | GetHierarchicalLevel () const |
Gets a zero-based level of the line in the hierarchy. | |
bool | IsExpanded () const |
Indicates whether a line is expanded. | |
const Common::CDataObject * | GetDataObject () const |
Returns the related data object. |
CGridLine | ( | const CPaintInfo & | paintInfo, | |
ContextType | contextType, | |||
int | row, | |||
HITEM | item, | |||
bool | isPreviusRowSelected, | |||
bool | isNextRowSelected | |||
) |
Constructor.
[in] | paintInfo | Contains colors, rectangles, font, text adjustement to draw a cell |
[in] | contextType | Context type. Possible value: FixedContext, ScrollableContext |
[in] | row | Zero-based index in the context |
[in] | item | Item handle |
[in] | isPreviusRowSelected | Indicates whether the previous line is selected |
[in] | isNextRowSelected | Indicates whether the next line is selected |
const CPaintInfo & GetPaintInfo | ( | ) | const [inline] |
Gets paint info.
CPaintInfo & GetPaintInfo | ( | ) | [inline] |
Gets paint info. Const version.
ContextType GetContextType | ( | ) | const [inline] |
Gets a context type where the data object was inserted.
int GetRow | ( | ) | const [inline] |
Gets a zero-based index in the specified context.
HITEM GetItem | ( | ) | const [inline] |
Gets an item handle.
bool IsRowSelected | ( | ) | const |
Indicates whether a line is selected.
bool IsPreviusRowSelected | ( | ) | const [inline] |
Indicates whether the previous line is selected.
bool IsNextRowSelected | ( | ) | const [inline] |
Indicates whether the next line is selected.
long GetHierarchicalLevel | ( | ) | const |
Gets a zero-based level of the line in the hierarchy.
bool IsExpanded | ( | ) | const |
Indicates whether a line is expanded.
const Common::CDataObject * GetDataObject | ( | ) | const |
Returns the related data object.
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |