Functions | |
ListRowP | mdlListRow_create (ListModelCP pModel) |
Creates a ListRow with the specified ListModel as an owner. More... | |
ListRowP | mdlListRow_copy (ListRowCP pRow) |
Copies a ListRow and all of its ListCells. More... | |
StatusInt | mdlListRow_destroy (ListRowP pRow) |
Destroys a ListRow and all of its ListCells. More... | |
ListModelP | mdlListRow_getModel (ListRowCP pRow) |
Returns a pointer to the ListModel containing the specified ListRow. More... | |
int | mdlListRow_getStatus (ListRowCP pRow) |
Returns the status of a specified ListRow. More... | |
StatusInt | mdlListRow_setStatus (ListRowP pRow, int inStatus) |
Sets the status of a specified ListRow. More... | |
UserDataP | mdlListRow_getAppData (ListRowCP pRow) |
Returns a pointer to application data associated with the ListRow. More... | |
StatusInt | mdlListRow_setAppData (ListRowP pRow, UserDataP pAppData) |
Sets the pointer to application data to be associated with the ListRow. More... | |
ListCellP | mdlListRow_getCellAtIndex (ListRowCP pRow, int colIndex) |
Returns a pointer to the ListCell at the specified column index within the ListRow. More... | |
ListCellP | mdlListRow_getCellById (ListRowCP pRow, int cellId) |
Returns a pointer to the ListCell with the specified column Id within the ListRow. More... | |
ListCellP | mdlListRow_getCellByName (ListRowCP pRow, WCharCP pwName) |
Returns a pointer to the ListCell with the specified name contained within the given ListRow. More... | |
StatusInt | mdlListRow_setStatusInCells (ListRowP pRow, int status) |
Sets the status in each ListCell within the ListRow. More... | |
StatusInt | mdlListRow_setFontIndex (ListRowP pRow, int fontIndex) |
Sets the font to use when drawing cells in the specified row. More... | |
StatusInt | mdlListRow_setColorDescr (ListRowP pRow, BSIColorDescr *pDescr) |
Sets the color descriptor to use when drawing cells in the specified row. More... | |
StatusInt | mdlListRow_setBgColorDescr (ListRowP pRow, BSIColorDescr *pDescr) |
Sets the background color descriptor to use when drawing cells in the specified row. More... | |
StatusInt | mdlListRow_setSelectedColorDescr (ListRowP pRow, BSIColorDescr *pDescr) |
Sets the color descriptor to use when drawing selected cells in the specified row. More... | |
StatusInt | mdlListRow_setSelectedBgColorDescr (ListRowP pRow, BSIColorDescr *pDescr) |
Sets the background color descriptor to use when drawing selected cells in the specified row. More... | |
StatusInt | mdlListRow_moveUp (ListRowP pRow) |
Moves the row up. More... | |
StatusInt | mdlListRow_moveDown (ListRowP pRow) |
Moves the row down. More... | |
ListRowP mdlListRow_copy | ( | ListRowCP | pRow | ) |
Copies a ListRow and all of its ListCells.
[in] | pRow | points to the ListRow to copy |
ListRowP mdlListRow_create | ( | ListModelCP | pModel | ) |
Creates a ListRow with the specified ListModel as an owner.
A ListCell for each ListColumn in the ListModel is also created, containing the number info.
[in] | pModel | points to the ListModel |
StatusInt mdlListRow_destroy | ( | ListRowP | pRow | ) |
Destroys a ListRow and all of its ListCells.
The ListRow should have been removed from any ListModel beforehand.
[in] | pRow | points to the ListRow to destroy |
UserDataP mdlListRow_getAppData | ( | ListRowCP | pRow | ) |
Returns a pointer to application data associated with the ListRow.
[in] | pRow | the ListRow to process. |
ListCellP mdlListRow_getCellAtIndex | ( | ListRowCP | pRow, |
int | colIndex | ||
) |
Returns a pointer to the ListCell at the specified column index within the ListRow.
[in] | pRow | points to the ListRow to process |
[in] | colIndex | column index of the cell to get |
ListCellP mdlListRow_getCellById | ( | ListRowCP | pRow, |
int | cellId | ||
) |
Returns a pointer to the ListCell with the specified column Id within the ListRow.
[in] | pRow | points to the ListRow to process |
[in] | cellId | Id of the ListCell |
ListCellP mdlListRow_getCellByName | ( | ListRowCP | pRow, |
WCharCP | pwName | ||
) |
Returns a pointer to the ListCell with the specified name contained within the given ListRow.
[in] | pRow | points to the ListRow to process |
[in] | pwName | Name of the ListCell to get |
ListModelP mdlListRow_getModel | ( | ListRowCP | pRow | ) |
Returns a pointer to the ListModel containing the specified ListRow.
[in] | pRow | points to the ListRow to get the ListModel from. |
int mdlListRow_getStatus | ( | ListRowCP | pRow | ) |
Returns the status of a specified ListRow.
The ListBox dialog item uses the status field. Valid values are the LISTCELLATTR_... definitions found in dlogitem.h.
[in] | pRow | points to the ListRow to process |
StatusInt mdlListRow_moveDown | ( | ListRowP | pRow | ) |
Moves the row down.
[in] | pRow | points to the ListRow to process |
StatusInt mdlListRow_moveUp | ( | ListRowP | pRow | ) |
Moves the row up.
[in] | pRow | points to the ListRow to process |
StatusInt mdlListRow_setAppData | ( | ListRowP | pRow, |
UserDataP | pAppData | ||
) |
Sets the pointer to application data to be associated with the ListRow.
[in] | pRow | the ListRow to process. |
[in] | pAppData | points to the application data to be associated with the ListRow. |
StatusInt mdlListRow_setBgColorDescr | ( | ListRowP | pRow, |
BSIColorDescr * | pDescr | ||
) |
Sets the background color descriptor to use when drawing cells in the specified row.
[in] | pRow | points to the ListRow to process. |
[in] | pDescr | points to the ColorDescr to use for the background of the cells. |
StatusInt mdlListRow_setColorDescr | ( | ListRowP | pRow, |
BSIColorDescr * | pDescr | ||
) |
Sets the color descriptor to use when drawing cells in the specified row.
[in] | pRow | points to the ListRow to process. |
[in] | pDescr | points to the ColorDescr to use for drawing the cells. |
StatusInt mdlListRow_setFontIndex | ( | ListRowP | pRow, |
int | fontIndex | ||
) |
Sets the font to use when drawing cells in the specified row.
[in] | pRow | points to the ListRow to process. |
[in] | fontIndex | the index of the font to use. |
StatusInt mdlListRow_setSelectedBgColorDescr | ( | ListRowP | pRow, |
BSIColorDescr * | pDescr | ||
) |
Sets the background color descriptor to use when drawing selected cells in the specified row.
[in] | pRow | points to the ListRow to process. |
[in] | pDescr | points to the ColorDescr to use for the background of the cells. |
StatusInt mdlListRow_setSelectedColorDescr | ( | ListRowP | pRow, |
BSIColorDescr * | pDescr | ||
) |
Sets the color descriptor to use when drawing selected cells in the specified row.
[in] | pRow | points to the ListRow to process. |
[in] | pDescr | points to the ColorDescr to use for drawing the cells. |
StatusInt mdlListRow_setStatus | ( | ListRowP | pRow, |
int | inStatus | ||
) |
Sets the status of a specified ListRow.
The ListBox dialog item uses the status field. Valid values are the LISTCELLATTR_... definitions found in dlogitem.h.
[in] | pRow | points to the ListRow to process |
[in] | inStatus | indicates the new status of the ListRow |
StatusInt mdlListRow_setStatusInCells | ( | ListRowP | pRow, |
int | status | ||
) |
Sets the status in each ListCell within the ListRow.
The ListBox dialog item uses the status field. Valid values are the LISTCELLATTR_... definitions found in dlogitem.h.
[in] | pRow | points to the ListRow to process |
[in] | status | indicates the new status to be set in each ListCell of the ListRow |