Inheritance diagram for IMFListPart:

Public Member Functions | |
| virtual void MCCOMAPI | GetCellRect (const int32 inCell, TMCRect &outRect) const =0 |
| virtual boolean MCCOMAPI | GetNextSelectedCell (int32 &ioCell) const =0 |
| virtual void MCCOMAPI | GetSelectedCellRange (int32 &outFirstCell, int32 &outLastCell) const =0 |
| virtual int32 MCCOMAPI | GetNumOfCells (void) const =0 |
| virtual MCCOMErr MCCOMAPI | AddCells (int32 inStartingWhere, int32 inHowMany, boolean inInvalidate)=0 |
| virtual MCCOMErr MCCOMAPI | DeleteCells (int32 inStartingWhere, int32 inHowMany, boolean inInvalidate)=0 |
| virtual void MCCOMAPI | SelectCell (const int32 inCell, const boolean beSelected, boolean inInvalidate)=0 |
| virtual void MCCOMAPI | CreateNamedCells (const TMCClassArray< TMCDynamicString > &inNames)=0 |
|
||||||||||||||||
|
Add "inHowMany" cells to the list, starting at "inStartingWhere". "inStartingWhere" MUST BE WITHIN 0 AND THE TOTAL CELLS.
|
|
|
Only implemented by TMFNameListPart (TMFListPart doens't do anything) Deletes previous cells, and creates a named cell for each element in inNames
|
|
||||||||||||||||
|
Delete cells from the list between inStartingWhere and inStartingWhere+inHowMany If *ALL* cells should be deleted, pass "kLIST_DELETE_ALL" for "inHowMany".
|
|
||||||||||||
|
Return the rectangle that encloses the passed-in cell. The cell may not be visible, hence the rect may not be visible either.
|
|
|
Returns the index of the next selected cell. Pass in the index of the first cell to check for selectedness. NOTE: 0 starts at top, may return 0 as first one too. If no cells are selected then FALSE is returned and "ioCell" should be ignored.
|
|
|
Returns the number of cells in the list. |
|
||||||||||||
|
Returns the first and last cells that are selected. If no cells are selected then -1 is returned for both. Note that there may be "holes" in the middle, that is, the returned parameters are simply bounds, not an inclusive list.
|
|
||||||||||||||||
|
Set the selection state of a cell - redraws the cell too. If only single selection is allowed, other cells are deselected if "beSelected" is TRUE.
|
1.3.9.1