Functions | |
ErrorCode | mdlDialog_listBoxSetStrListP (RawItemHdr *listBoxP, StringListP strListP, int nColumns) |
Sets the StringList that the List Box item will use. More... | |
ErrorCode | mdlDialog_listBoxSetListModelP (RawItemHdr *listBoxP, ListModel *pListModel, int unused) |
Sets the ListModel pointer in the ListBox. More... | |
ErrorCode | mdlDialog_listBoxSetListModelPEx (RawItemHdr *listBoxP, ListModel *pListModel, int unused, bool redraw) |
An extension of mdlDialog_listBoxSetListModelP that allows control over the redrawing of the ListBox after setting the ListModel pointer. More... | |
ErrorCode | mdlDialog_listBoxNRowsChangedRedraw (RawItemHdr *listBoxP, bool redraw) |
Similar to mdlDialog_listBoxNRowsChanged but also gives the option of redrawing or not. More... | |
ErrorCode | mdlDialog_listBoxNRowsChanged (RawItemHdr *listBoxP) |
Informs the List Box item specified by listBoxP that the number of rows in its StringList or ListModel has changed. More... | |
StringListP | mdlDialog_listBoxGetStrListP (RawItemHdr *listBoxP) |
Retrieves a pointer to the StringList that the List Box item specified by listBoxP is manipulating. More... | |
ListModel * | mdlDialog_listBoxGetListModelP (RawItemHdr *listBoxP) |
Retrieves a pointer to the ListModel. More... | |
ErrorCode | mdlDialog_listBoxGetDisplayRange (int *topRowIndexP, int *bottomRowIndexP, int *leftColIndexP, int *rightColIndexP, RawItemHdr *listBoxP) |
Gets the range of the cells that are displayed in the List Box specified by listBoxP. More... | |
ErrorCode | mdlDialog_listBoxSetTopRow (RawItemHdr *listBoxP, int topRowIndex) |
Sets the first displayed row of a List Box to be topRowIndex. More... | |
ErrorCode | mdlDialog_listBoxSetTopRowRedraw (RawItemHdr *listBoxP, int topRowIndex, bool redraw) |
Sets which row number of a List Box is displayed as the first row. More... | |
ErrorCode | mdlDialog_listBoxDrawContents (RawItemHdr *listBoxP, int relRowIndex, int relColIndex) |
Draws the contents of the List Box item specified by listBoxP. More... | |
ErrorCode | mdlDialog_listBoxSelectCells (RawItemHdr *listBoxP, int minRowIndex, int maxRowIndex, int minColIndex, int maxColIndex, bool selectOn, bool redraw) |
Selects a range of cells in the List Box specified by listBoxP. More... | |
ErrorCode | mdlDialog_listBoxEnableCells (RawItemHdr *listBoxP, int minRowIndex, int maxRowIndex, int minColIndex, int maxColIndex, bool enable, bool redraw) |
Enables or disables a range of cells in the List Box specified by listBoxP. More... | |
ErrorCode | mdlDialog_listBoxGetSelectRange (int *minRowIndexP, int *maxRowIndexP, int *minColIndexP, int *maxColIndexP, RawItemHdr *listBoxP) |
Gets the range of the cells that are currently selected in the List Box specified by listBoxP. More... | |
ErrorCode | mdlDialog_listBoxGetNextSelection (bool *foundP, int *rowIndexP, int *colIndexP, RawItemHdr *listBoxP) |
Searches for the next selected cell of the List Box specified by listBoxP. More... | |
StatusInt | mdlDialog_listBoxFindCell (int *iRowP, int *iColP, RawItemHdr *listBoxP, Point2d *ptP) |
Returns the row and column in the List Box at the current mouse position, ptP. More... | |
bool | mdlDialog_listBoxIsCellSelected (RawItemHdr *listBoxP, int rowIndex, int colIndex) |
Determines if a cell in the List Box specified by listBoxP is selected. More... | |
bool | mdlDialog_listBoxIsCellEnabled (RawItemHdr *listBoxP, int rowIndex, int colIndex) |
Determines if a cell in the List Box specified by listBoxP is enabled. More... | |
ErrorCode | mdlDialog_listBoxLastCellClicked (int *rowIndexP, int *colIndexP, RawItemHdr *listBoxP) |
Determines the cell in the List Box specified by listBoxP in which the data button was last clicked. More... | |
StatusInt | mdlDialog_listBoxGetInfo (UInt32 *attributesP, UInt32 *nRowsP, UInt32 *sizeNumColumnP, RawItemHdr *listBoxP) |
Gets several parameters associated with List Boxes. More... | |
StatusInt | mdlDialog_listBoxSetInfo (UInt32 *attributesP, UInt32 *nRowsP, UInt32 *sizeNumColumnP, bool redraw, RawItemHdr *listBoxP) |
Sets several parameters associated with List Boxes. More... | |
StatusInt | mdlDialog_listBoxGetInfoEx (UInt32 *attributesP, UInt32 *nRowsP, UInt32 *sizeNumColumnP, UInt32 *attributesExP, UInt32 *statusFlagsP, RawItemHdr *listBoxP) |
Gets several parameters associated with List Boxes. More... | |
StatusInt | mdlDialog_listBoxSetInfoEx (UInt32 *attributesP, UInt32 *nRowsP, UInt32 *sizeNumColumnP, UInt32 *attributesExP, bool redraw, RawItemHdr *listBoxP) |
Sets several parameters associated with List Boxes. More... | |
int | mdlDialog_listBoxGetNColumns (RawItemHdr *listBoxP) |
Retrieves the number of columns present in a List Box. More... | |
StatusInt | mdlDialog_listBoxGetColInfo (int *widthP, int *maxSizeP, UInt32 *attributesP, WChar *headingP, RawItemHdr *listBoxP, int columnIndex) |
Gets several parameters associated with individual columns in List Boxes. More... | |
StatusInt | mdlDialog_listBoxSetColInfo (int *widthP, int *maxSizeP, UInt32 *attributesP, WCharCP headingP, RawItemHdr *listBoxP, int columnIndex, bool redraw) |
Sets several parameters associated with individual columns in List Boxes. More... | |
StatusInt | mdlDialog_listBoxInsertColumn (int *widthP, int *maxSizeP, UInt32 *attributesP, WCharCP headingP, RawItemHdr *listBoxP, int columnIndex, bool redraw) |
Inserts a new column into an existing List Box. More... | |
StatusInt | mdlDialog_listBoxSetColumnHeading (WCharCP headingP, RawItemHdr *listBoxP, int columnIndex, bool redraw) |
Updates a column's heading to a Unicode string. More... | |
StatusInt | mdlDialog_listBoxGetColInfoEx (int *widthP, int *maxSizeP, UInt32 *attributesP, WChar *headingP, int *originXP, short *sortStatusP, int *sortSecondaryColP, RawItemHdr *listBoxP, int columnIndex) |
Similar to the mdlDialog_listBoxGetColInfo but with added arguments. More... | |
StatusInt | mdlDialog_listBoxSetColInfoEx (int *widthP, int *maxSizeP, UInt32 *attributesP, WCharCP headingP, short *sortStatusP, ListColumnSortFuncP sortFunc, MdlDesc *sortOwnerMD, int *sortSecondaryColP, RawItemHdr *listBoxP, int columnIndex, bool redraw) |
Similar to the mdlDialog_listBoxSetColInfo but with added arguments. More... | |
int | mdlDialog_listBoxGetSortColumn (RawItemHdr *listBoxP) |
Gets the index of the current sorted column. More... | |
StatusInt | mdlDialog_listBoxSetSortColumn (short *sortStatusP, ListColumnSortFuncP sortFunc, MdlDesc *sortOwnerMD, int *sortSecondaryColP, RawItemHdr *listBoxP, int columnIndex, bool sort, bool redraw) |
Sets the current sorted column and allows the setting of sort information on the column. More... | |
StatusInt | mdlDialog_listBoxInsertColumnEx (int *widthP, int *maxSizeP, UInt32 *attributesP, WCharCP headingP, short *sortStatusP, ListColumnSortFuncP sortFunc, MdlDesc *sortOwnerMD, int *sortSecondaryColP, RawItemHdr *listBoxP, int columnIndex, bool redraw) |
Similar to the mdlDialog_listBoxInsertColumn but with added arguments. More... | |
StatusInt | mdlDialog_listBoxDeleteColumn (RawItemHdr *listBoxP, int columnIndex, bool redraw) |
Deletes one column from a List Box. More... | |
StatusInt | mdlDialog_listBoxDeleteAll (RawItemHdr *listBoxP) |
Deletes all columns from a List Box. More... | |
StatusInt | mdlDialog_listBoxGetSelections (int *nSelectionsP, SPoint2d **selectionsPP, RawItemHdr *listBoxP) |
Returns a pointer to an array indicating which cells of the given ListBox are currently selected. More... | |
StatusInt | mdlDialog_listBoxSetSelections (RawItemHdr *listBoxP, int nSelections, SPoint2d *selectionsP, bool deselectAllFirst, bool redraw) |
Sets which cells in a List Box are selected given a pointer to an array of cell coordinates. More... | |
StatusInt | mdlDialog_listBoxGetSelectionsX (int *nSelectionsP, Point2d **selectionsPP, RawItemHdr *listBoxP) |
Returns a pointer to an array indicating which cells of the given ListBox are currently selected. More... | |
StatusInt | mdlDialog_listBoxSetSelectionsX (RawItemHdr *listBoxP, int nSelections, Point2d *selectionsP, bool deselectAllFirst, bool redraw) |
Sets which cells in a List Box are selected given a pointer to an array of cell coordinates. More... | |
StatusInt | mdlDialog_listBoxGetLocationCursor (int *locationRowP, int *locationColP, RawItemHdr *listBoxP) |
Returns the location of the selection cursor within a ListBox. More... | |
StatusInt | mdlDialog_listBoxSetLocationCursor (RawItemHdr *listBoxP, int locationRow, int locationCol) |
Sets the location of the selection cursor within a ListBox. More... | |
StatusInt | mdlDialog_listBoxGetHeights (int *rowHeightP, int *headingHeightP, int *labelHeightP, RawItemHdr *listBoxP) |
Retrieves several heights from a ListBox, including the row height, heading height and label height. More... | |
ErrorCode | mdlDialog_listBoxSetFilter (RawItemHdr *listBoxP, bool bFilter, WChar *pwFilterTableName, UInt32 filterId, bool redraw) |
Changes the status of the filter for the specified List Box, and optionally redraws the List Box. More... | |
ErrorCode | mdlDialog_listBoxSetHighlightColumn (RawItemHdr *listBoxP, int columnIndex) |
Sets the highlight column in the specified List Box. More... | |
ErrorCode | mdlDialog_listBoxGetEditCell (int *rowIndexP, int *colIndexP, RawItemHdr *listBoxP) |
Gets the row and column of the cell being edited in the ListBox item. More... | |
ErrorCode | mdlDialog_listBoxEditCell (RawItemHdr *listBoxP, int rowIndex, int colIndex) |
Starts a cell editing session on the specified row and column in the ListBox item. More... | |
ErrorCode | mdlDialog_listBoxGetFullWidth (int *iFullWidthP, bool bSetColumnWidths, RawItemHdr *listBoxP) |
Gets the width of a ListBox with all columns expanded based on the widest column values. More... | |
ErrorCode | mdlDialog_listBoxMakeRowVisible (RawItemHdr *listBoxP, int rowIndex) |
Makes a row visible by scrolling it into view. More... | |
StatusInt | mdlDialog_listBoxColumnSetIcon (RawItemHdr *listBoxP, int columnIndex, UInt32 *iconAlignmentP, RscId *iconIdP, RscType *iconTypeP, MdlDesc **iconOwnerMDP, BSIColorDescr **iconFgColorPP, BSIColorDescr **iconBgColorPP) |
Sets the icon information for a ListBox column heading. More... | |
int | mdlDialog_listBoxGetColDisplayIndex (RawItemHdr *listBoxP, int columnIndex) |
Retrieves a column's display index. More... | |
int | mdlDialog_listBoxSetColDisplayIndex (RawItemHdr *listBoxP, int columnIndex, int displayIndex) |
Sets a column's display index. More... | |
StatusInt | mdlDialog_listBoxSetKeySearchColumn (RawItemHdr *listBoxP, int columnIndex) |
Sets the key search column for a ListBox. More... | |
int | mdlDialog_listBoxGetDisplayColumnIndex (RawItemHdr *listBoxP, int columnIndex) |
Gets the display column index associated with an application's column index. More... | |
StatusInt | mdlDialog_listBoxSetDefaultSortColumn (RawItemHdr *listBoxP, int columnIndex, short sortStatus) |
Sets the default sort column for a ListBox. More... | |
StatusInt | mdlDialog_listBoxSetSortBeginRow (RawItemHdr *listBoxP, int sortBeginRow) |
Sets the row from which to start user sorting. More... | |
StatusInt | mdlDialog_treeColumnSetIcon (RawItemHdr *pTree, int columnIndex, UInt32 *iconAlignmentP, RscId *iconIdP, RscType *iconTypeP, MdlDesc **iconOwnerMDP, BSIColorDescr **iconFgColorPP, BSIColorDescr **iconBgColorPP) |
Sets the icon information for a Tree column heading. More... | |
StatusInt mdlDialog_listBoxColumnSetIcon | ( | RawItemHdr * | listBoxP, |
int | columnIndex, | ||
UInt32 * | iconAlignmentP, | ||
RscId * | iconIdP, | ||
RscType * | iconTypeP, | ||
MdlDesc ** | iconOwnerMDP, | ||
BSIColorDescr ** | iconFgColorPP, | ||
BSIColorDescr ** | iconBgColorPP | ||
) |
Sets the icon information for a ListBox column heading.
[in] | listBoxP | is the ListBox item to process. |
[in] | columnIndex | index of col to set info on |
[in] | iconAlignmentP | points to an unsigned long representing the alignment to be used for the icon, set NULL if not setting |
[in] | iconIdP | points to a long representing the id of the icon to be used, set NULL if not setting |
[in] | iconTypeP | points to an unsigned long representing the type of icon to be used, set NULL if not setting |
[in] | iconOwnerMDP | points to the MDL Descriptor of the icon to be used, set NULL if not setting |
[in] | iconFgColorPP | the color descriptor for the foreground color, set NULL if not setting |
[in] | iconBgColorPP | the color descriptor for the background color, set NULL if not setting |
StatusInt mdlDialog_listBoxDeleteAll | ( | RawItemHdr * | listBoxP | ) |
Deletes all columns from a List Box.
[in] | listBoxP | points to the RawItemHdr of the List Box. |
StatusInt mdlDialog_listBoxDeleteColumn | ( | RawItemHdr * | listBoxP, |
int | columnIndex, | ||
bool | redraw | ||
) |
Deletes one column from a List Box.
[in] | listBoxP | points to the RawItemHdr of the List Box from which to delete a column. |
[in] | columnIndex | indicates which column to delete. |
[in] | redraw | indicates whether the ListBox should be redrawn after the column is deleted. |
ErrorCode mdlDialog_listBoxDrawContents | ( | RawItemHdr * | listBoxP, |
int | relRowIndex, | ||
int | relColIndex | ||
) |
Draws the contents of the List Box item specified by listBoxP.
[in] | listBoxP | ListBox to draw |
[in] | relRowIndex | specifies the relative row index (0 based) of the row to draw. Relative row 0 indicates that whatever is contained in the first row should be drawn, not that the first row of the List Box's StringList should be drawn. If relRowIndex is -1, all the displayed rows in the List Box will be redrawn. |
[in] | relColIndex | specifies the relative column index (0 based) of the column to draw. Relative column 0 indicates that the first column in the List Box should be drawn. If relColIndex is -1, all the displayed columns in the List Box will be redrawn. |
ErrorCode mdlDialog_listBoxEditCell | ( | RawItemHdr * | listBoxP, |
int | rowIndex, | ||
int | colIndex | ||
) |
Starts a cell editing session on the specified row and column in the ListBox item.
[in] | listBoxP | is the ListBox item to start the edit session for. |
[in] | rowIndex | is the 0-based index of the row to edit. |
[in] | colIndex | is the 0-based index of the column to edit. |
ErrorCode mdlDialog_listBoxEnableCells | ( | RawItemHdr * | listBoxP, |
int | minRowIndex, | ||
int | maxRowIndex, | ||
int | minColIndex, | ||
int | maxColIndex, | ||
bool | enable, | ||
bool | redraw | ||
) |
Enables or disables a range of cells in the List Box specified by listBoxP.
The enable parameter should be set to true to enable the range of cells, or false to disable the cells. An enabled cell is selectable; a disabled cell is dim and unselectable.
[in] | listBoxP | ListBox to enable |
[in] | minRowIndex | min row of area to enable |
[in] | maxRowIndex | max row of area to enable |
[in] | minColIndex | min col of area to enable |
[in] | maxColIndex | max col of area to enable |
[in] | enable | false=cells disabled (dim, unselectable) |
[in] | redraw | true specifies that the affected cells should be redrawn if they are currently visible inside of the List Box. |
StatusInt mdlDialog_listBoxFindCell | ( | int * | iRowP, |
int * | iColP, | ||
RawItemHdr * | listBoxP, | ||
Point2d * | ptP | ||
) |
Returns the row and column in the List Box at the current mouse position, ptP.
[out] | iRowP | The row in the List Box found at the cursor position. Can be NULL |
[out] | iColP | The column in the List Box found at the cursor position. Can be NULL |
[in] | listBoxP | ListBox to search for cell |
[in] | ptP | the cursor location |
int mdlDialog_listBoxGetColDisplayIndex | ( | RawItemHdr * | listBoxP, |
int | columnIndex | ||
) |
Retrieves a column's display index.
When using the LISTATTRX_REORDERCOLUMNS resource attribute, columns may be reordered by the user, resulting in a display index that may be different from the data index.
[in] | listBoxP | listBox to get info on |
[in] | columnIndex | index of col to get info on |
StatusInt mdlDialog_listBoxGetColInfo | ( | int * | widthP, |
int * | maxSizeP, | ||
UInt32 * | attributesP, | ||
WChar * | headingP, | ||
RawItemHdr * | listBoxP, | ||
int | columnIndex | ||
) |
Gets several parameters associated with individual columns in List Boxes.
The first four variables passed to each function are pointers to variables representing four parameters of the specified List Box column. If any of the four pointers passed is NULL, that parameter is not retrieved.
[out] | widthP | points to an integer representing the width of the column in dialog coordinates. |
[out] | maxSizeP | points to an integer representing the maximum allowable length of a List Box entry in the specified column. |
[out] | attributesP | points to an integer that contains the column's attributes. The bits that can be set include ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT constants defined in dlogbox.r.h. |
[out] | headingP | points to a character buffer that contains the column's title. |
[in] | listBoxP | points to the RawItemHdr of the List Box containing the column in question. |
[in] | columnIndex | is the index of the column in question. |
StatusInt mdlDialog_listBoxGetColInfoEx | ( | int * | widthP, |
int * | maxSizeP, | ||
UInt32 * | attributesP, | ||
WChar * | headingP, | ||
int * | originXP, | ||
short * | sortStatusP, | ||
int * | sortSecondaryColP, | ||
RawItemHdr * | listBoxP, | ||
int | columnIndex | ||
) |
Similar to the mdlDialog_listBoxGetColInfo but with added arguments.
[out] | widthP | set NULL if don't want width (in dcoords) |
[out] | maxSizeP | set NULL if don't want max sz. |
[out] | attributesP | set NULL if don't want attr |
[out] | headingP | set NULL if don't want heading |
[out] | originXP | points to an integer representing the X origin of the column in pixels |
[out] | sortStatusP | points to a short representing the current sort status of the column. Possible values are NOSORT, 0, SORTED_ASCENDING or SORTED_DESCENDING. |
[in] | sortSecondaryColP | points to an integer representing the secondary column to sort on for this column. |
[in] | listBoxP | listBox to get info on |
[in] | columnIndex | index of col to get info on |
int mdlDialog_listBoxGetDisplayColumnIndex | ( | RawItemHdr * | listBoxP, |
int | columnIndex | ||
) |
Gets the display column index associated with an application's column index.
[in] | listBoxP | the ListBox item to process. |
[in] | columnIndex | index of the column to get the display index for. |
ErrorCode mdlDialog_listBoxGetDisplayRange | ( | int * | topRowIndexP, |
int * | bottomRowIndexP, | ||
int * | leftColIndexP, | ||
int * | rightColIndexP, | ||
RawItemHdr * | listBoxP | ||
) |
Gets the range of the cells that are displayed in the List Box specified by listBoxP.
The function is used to determine what part of the List Box's StringList is currently being displayed. The first and last displayed rows in the List Box are copied to the locations specified by topRowIndexP and bottomRowIndexP. The first and last displayed columns in the List Box are copied to the locations specified by leftColIndexP and rightColIndexP. topRowIndexP, bottomRowIndexP, leftColIndexP or rightColIndexP can be NULL, indicating that the caller doesn't need the value.
[out] | topRowIndexP | row # of 1st row displayed (0 based) |
[out] | bottomRowIndexP | row # of last row displayed (0 based) |
[out] | leftColIndexP | col # of leftmost col displayed (0 based) |
[out] | rightColIndexP | col # of rightmost col displayed (0 based) |
[in] | listBoxP | ListBox to get display range of |
ErrorCode mdlDialog_listBoxGetEditCell | ( | int * | rowIndexP, |
int * | colIndexP, | ||
RawItemHdr * | listBoxP | ||
) |
Gets the row and column of the cell being edited in the ListBox item.
[out] | rowIndexP | receives the 0-based index of the row being edited. |
[out] | colIndexP | receives the 0-based index of the column being edited. |
[in] | listBoxP | is the ListBox item containing the cell being edited. |
ErrorCode mdlDialog_listBoxGetFullWidth | ( | int * | iFullWidthP, |
bool | bSetColumnWidths, | ||
RawItemHdr * | listBoxP | ||
) |
Gets the width of a ListBox with all columns expanded based on the widest column values.
[out] | iFullWidthP | points to an integer that receives the ListBox's full width. |
[in] | bSetColumnWidths | true indicates to set the widths of the columns based on the widest column values. |
[in] | listBoxP | points to the RawItemHdr of the ListBox in question. |
StatusInt mdlDialog_listBoxGetHeights | ( | int * | rowHeightP, |
int * | headingHeightP, | ||
int * | labelHeightP, | ||
RawItemHdr * | listBoxP | ||
) |
Retrieves several heights from a ListBox, including the row height, heading height and label height.
[in] | listBoxP | points to the RawItemHdr for the ListBox item |
[out] | rowHeightP | points to an integer representing the height of a row |
[out] | headingHeightP | points to an integer representing the height of the heading |
[out] | labelHeightP | points to an integer representing the height of the label, if above the ListBox |
StatusInt mdlDialog_listBoxGetInfo | ( | UInt32 * | attributesP, |
UInt32 * | nRowsP, | ||
UInt32 * | sizeNumColumnP, | ||
RawItemHdr * | listBoxP | ||
) |
Gets several parameters associated with List Boxes.
The first three variables passed to each function are pointers to variables representing three parameters of the specified List Box. If any of the three pointers passed is NULL, that parameter is not retrieved.
[out] | attributesP | points to an integer that contains the List Box's attributes. The bits that can be set include LISTATTR_LABELONSIDE, LISTATTR_RANGESELECTION, and so on. The constants are defined in dlogbox.r.h. |
[out] | nRowsP | points to an integer representing the number of rows the List Box can display at once. |
[out] | sizeNumColumnP | points to the integer allowing the List Box handler to automatically number the rows. The maximum number of digits necessary to number the rows is specified. For example, if a list can have up to 99 rows, 2 should be specified. If the integer pointed to by sizeNumColumnP is 0, the rows are not numbered. |
[in] | listBoxP | points to the RawItemHdr of the List Box in question. |
StatusInt mdlDialog_listBoxGetInfoEx | ( | UInt32 * | attributesP, |
UInt32 * | nRowsP, | ||
UInt32 * | sizeNumColumnP, | ||
UInt32 * | attributesExP, | ||
UInt32 * | statusFlagsP, | ||
RawItemHdr * | listBoxP | ||
) |
Gets several parameters associated with List Boxes.
If any of the five pointers passed is NULL, that parameter is not retrieved.
[out] | attributesP | points to a value that contains the List Box's attributes. The bits that can be set include LISTATTR_LABEL_ON_SIDE, LISTATTR_RANGE_SELECTION, and so on. The constants are defined in dlogbox.r.h. |
[out] | nRowsP | points to an value representing the number of rows the List Box can display at once. |
[out] | sizeNumColumnP | points to the value allowing the List Box handler to automatically number the rows. The maximum number of digits necessary to number the rows is specified. For example, if a list can have up to 99 rows, 2 should be specified. If the value pointed to by sizeNumColumnP is 0, the rows are not numbered. |
[out] | attributesExP | points to a value representing the extended attributes of the List Box. |
[out] | statusFlagsP | points to a value representing the status flags (DISTATUS_...) of the List Box. |
[in] | listBoxP | points to the RawItemHdr of the List Box in question. |
ListModel* mdlDialog_listBoxGetListModelP | ( | RawItemHdr * | listBoxP | ) |
Retrieves a pointer to the ListModel.
[in] | listBoxP | points to the RawItemHdr for the ListBox item |
StatusInt mdlDialog_listBoxGetLocationCursor | ( | int * | locationRowP, |
int * | locationColP, | ||
RawItemHdr * | listBoxP | ||
) |
Returns the location of the selection cursor within a ListBox.
[out] | locationRowP | points to an integer to receive the selection cursor's row number. |
[out] | locationColP | points to an integer to receive the selection cursor's column number. |
[in] | listBoxP | point to the RawItemHdr of the List Box in question. |
int mdlDialog_listBoxGetNColumns | ( | RawItemHdr * | listBoxP | ) |
Retrieves the number of columns present in a List Box.
[in] | listBoxP | points to the RawItemHdr of the List Box to check. |
ErrorCode mdlDialog_listBoxGetNextSelection | ( | bool * | foundP, |
int * | rowIndexP, | ||
int * | colIndexP, | ||
RawItemHdr * | listBoxP | ||
) |
Searches for the next selected cell of the List Box specified by listBoxP.
[out] | foundP | The boolean variable pointed at by foundP is set to true if a selected cell was found. |
[in,out] | rowIndexP | on input these two args specify cell to start |
[in,out] | colIndexP | search AFTER; output next selected cell; ptrs to -1, -1 mean search from beginning |
[in] | listBoxP | ListBox to get next selection of |
StatusInt mdlDialog_listBoxGetSelections | ( | int * | nSelectionsP, |
SPoint2d ** | selectionsPP, | ||
RawItemHdr * | listBoxP | ||
) |
Returns a pointer to an array indicating which cells of the given ListBox are currently selected.
The array is a series of contiguous SPoint2d structures, each of which has two short integer fields called x and y. There is no need for the calling function to deallocate the array.
[out] | nSelectionsP | points to an integer to receive the number of currently selected cells, which is also the size of the array. |
[out] | selectionsPP | is a pointer to the pointer variable that is to receive the location of the array. After this function is called, *selectionsPP points to the beginning of the array. |
[in] | listBoxP | points to the RawItemHdr of the List Box in question. |
StatusInt mdlDialog_listBoxGetSelectionsX | ( | int * | nSelectionsP, |
Point2d ** | selectionsPP, | ||
RawItemHdr * | listBoxP | ||
) |
Returns a pointer to an array indicating which cells of the given ListBox are currently selected.
The array is a series of Point2d structures. There is no need for the calling function to deallocate the array.
[out] | nSelectionsP | points to an integer to receive the number of currently selected cells, which is also the size of the array. |
[out] | selectionsPP | is a pointer to the pointer variable that is to receive the location of the array. After this function is called, *selectionsPP points to the beginning of the array. |
[in] | listBoxP | points to the RawItemHdr of the List Box in question. |
ErrorCode mdlDialog_listBoxGetSelectRange | ( | int * | minRowIndexP, |
int * | maxRowIndexP, | ||
int * | minColIndexP, | ||
int * | maxColIndexP, | ||
RawItemHdr * | listBoxP | ||
) |
Gets the range of the cells that are currently selected in the List Box specified by listBoxP.
The first and last selected rows in the List Box are copied to the locations specified by the minRowIndexP and maxRowIndexP parameters. The first and last selected columns in the List Box are copied to the locations specified by the minColIndexP and maxColIndexP parameters. Any of the parameters minRowIndexP, maxRowIndexP, minColIndexP or maxColIndexP can be NULL, which indicates that the caller doesn't need the value. Row and column indexes start with 0.
[out] | minRowIndexP | min row of selection |
[out] | maxRowIndexP | max row of selection |
[out] | minColIndexP | min column of selection |
[out] | maxColIndexP | max column of selection |
[in] | listBoxP | ListBox to get selection of |
int mdlDialog_listBoxGetSortColumn | ( | RawItemHdr * | listBoxP | ) |
Gets the index of the current sorted column.
[in] | listBoxP | listBox to get info on |
StringListP mdlDialog_listBoxGetStrListP | ( | RawItemHdr * | listBoxP | ) |
Retrieves a pointer to the StringList that the List Box item specified by listBoxP is manipulating.
[in] | listBoxP | ListBox to get strListP of |
StatusInt mdlDialog_listBoxInsertColumn | ( | int * | widthP, |
int * | maxSizeP, | ||
UInt32 * | attributesP, | ||
WCharCP | headingP, | ||
RawItemHdr * | listBoxP, | ||
int | columnIndex, | ||
bool | redraw | ||
) |
Inserts a new column into an existing List Box.
[in] | widthP | points to an integer representing the width of the column in dialog coordinates. NULL means 8*XC. |
[in] | maxSizeP | points to an integer representing the maximum allowable size of a List Box entry in the specified column. The maximum size is set to 10 if maxSizeP is NULL. |
[in] | attributesP | points to an integer that contains the column's attributes. The bits that can be set include ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT constants defined in dlogbox.r.h. NULL means 0. |
[in] | headingP | points to a character buffer that contains the column's title. The new column will have no heading if headingP is NULL. |
[in] | listBoxP | points to the RawItemHdr of the List Box containing the column in question. |
[in] | columnIndex | is the index of the column before which to insert. A value of -1 means make the new column the right most. |
[in] | redraw | is a boolean flag indicating whether mdlDialog_listBoxInsertColumn should cause the List Box to be redrawn after the column information is modified. |
StatusInt mdlDialog_listBoxInsertColumnEx | ( | int * | widthP, |
int * | maxSizeP, | ||
UInt32 * | attributesP, | ||
WCharCP | headingP, | ||
short * | sortStatusP, | ||
ListColumnSortFuncP | sortFunc, | ||
MdlDesc * | sortOwnerMD, | ||
int * | sortSecondaryColP, | ||
RawItemHdr * | listBoxP, | ||
int | columnIndex, | ||
bool | redraw | ||
) |
Similar to the mdlDialog_listBoxInsertColumn but with added arguments.
[in] | widthP | set NULL if not setting width (in dcoords) |
[in] | maxSizeP | set NULL if not setting max sz |
[in] | attributesP | set NULL if not setting attr |
[in] | headingP | set NULL if not setting headng |
[in] | sortStatusP | points to a short representing the current sort status of the column. Possible values are NOSORT, 0, SORTED_ASCENDG or SORTED_DESCENDG. |
[in] | sortFunc | points to a sort function for column sorting. |
[in] | sortOwnerMD | points to an MdlDescr pointer representing the Owner of the sortFunc |
[in] | sortSecondaryColP | points to an integer representing the secondary column to sort on for this column. |
[in] | listBoxP | listBox to get info on |
[in] | columnIndex | index of col to get info on |
[in] | redraw | redraw listBox? |
bool mdlDialog_listBoxIsCellEnabled | ( | RawItemHdr * | listBoxP, |
int | rowIndex, | ||
int | colIndex | ||
) |
Determines if a cell in the List Box specified by listBoxP is enabled.
An enabled cell is selectable; a disabled cell is dim and unselectable.
[in] | listBoxP | ListBox to test |
[in] | rowIndex | row index of cell to test |
[in] | colIndex | column index of cell to test |
bool mdlDialog_listBoxIsCellSelected | ( | RawItemHdr * | listBoxP, |
int | rowIndex, | ||
int | colIndex | ||
) |
Determines if a cell in the List Box specified by listBoxP is selected.
A selected cell is a cell that is displayed with a black background color instead of the normal light gray.
[in] | listBoxP | ListBox to set |
[in] | rowIndex | row index of cell to test |
[in] | colIndex | column index of cell to test |
ErrorCode mdlDialog_listBoxLastCellClicked | ( | int * | rowIndexP, |
int * | colIndexP, | ||
RawItemHdr * | listBoxP | ||
) |
Determines the cell in the List Box specified by listBoxP in which the data button was last clicked.
The row index and column index of this cell are copied to the locations specified by rowIndexP and colIndexP. Either rowIndexP or colIndexP can be NULL, which indicates that the caller doesn't need the value. Row and column indexes start with 0.
[out] | rowIndexP | row index of last cell clicked |
[out] | colIndexP | column index of last cell clicked |
[in] | listBoxP | ListBox to get last click cell of |
ErrorCode mdlDialog_listBoxMakeRowVisible | ( | RawItemHdr * | listBoxP, |
int | rowIndex | ||
) |
Makes a row visible by scrolling it into view.
[in] | listBoxP | is the ListBox item to process. |
[in] | rowIndex | is the 0-based index of the row to make visible. |
ErrorCode mdlDialog_listBoxNRowsChanged | ( | RawItemHdr * | listBoxP | ) |
Informs the List Box item specified by listBoxP that the number of rows in its StringList or ListModel has changed.
An MDL application should call this function whenever the number of rows or members in the List Box's StringList or ListModel changes. mdlDialog_listBoxNRowsChanged corrects the size of the List Box's Scroll Bar.
[in] | listBoxP | ListBox to notify of number change |
ErrorCode mdlDialog_listBoxNRowsChangedRedraw | ( | RawItemHdr * | listBoxP, |
bool | redraw | ||
) |
Similar to mdlDialog_listBoxNRowsChanged but also gives the option of redrawing or not.
[in] | listBoxP | points to the RawItemHdr for the ListBox item |
[in] | redraw | If true the ListBox will redraw after internal calculations have been made; if false it will not redraw. |
ErrorCode mdlDialog_listBoxSelectCells | ( | RawItemHdr * | listBoxP, |
int | minRowIndex, | ||
int | maxRowIndex, | ||
int | minColIndex, | ||
int | maxColIndex, | ||
bool | selectOn, | ||
bool | redraw | ||
) |
Selects a range of cells in the List Box specified by listBoxP.
The selectOn parameter should be set to true to select the range of cells, or false to deselect the cells. Selected cells are displayed with a black background color.
[in] | listBoxP | ListBox to select |
[in] | minRowIndex | min row of area to select |
[in] | maxRowIndex | max row of area to select |
[in] | minColIndex | min column of area to select |
[in] | maxColIndex | max column of area to select |
[in] | selectOn | false means selection is turned off |
[in] | redraw | The redraw parameter, when true, specifies that the affected cells should be redrawn if they are currently visible inside of the List Box. |
int mdlDialog_listBoxSetColDisplayIndex | ( | RawItemHdr * | listBoxP, |
int | columnIndex, | ||
int | displayIndex | ||
) |
Sets a column's display index.
When using the LISTATTRX_REORDERCOLUMNS resource attribute, columns may be reordered by the user, resulting in a display index that may be different from the data index.
[in] | listBoxP | listBox to get info on |
[in] | columnIndex | index of col to get info on |
[in] | displayIndex | The display index for a column |
StatusInt mdlDialog_listBoxSetColInfo | ( | int * | widthP, |
int * | maxSizeP, | ||
UInt32 * | attributesP, | ||
WCharCP | headingP, | ||
RawItemHdr * | listBoxP, | ||
int | columnIndex, | ||
bool | redraw | ||
) |
Sets several parameters associated with individual columns in List Boxes.
The first four variables passed to each function are pointers to variables representing four parameters of the specified List Box column. If any of the four pointers passed is NULL, that parameter is not set.
[in] | widthP | points to an integer representing the width of the column in dialog coordinates. |
[in] | maxSizeP | points to an integer representing the maximum allowable length of a List Box entry in the specified column. |
[in] | attributesP | points to an integer that contains the column's attributes. The bits that can be set include ALIGN_LEFT, ALIGN_CENTER and ALIGN_RIGHT constants defined in dlogbox.r.h. |
[in] | headingP | points to a character buffer that contains the column's title. |
[in] | listBoxP | points to the RawItemHdr of the List Box containing the column in question. |
[in] | columnIndex | is the index of the column in question. |
[in] | redraw | is a boolean flag indicating whether mdlDialog_listBoxSetColInfo should cause the List Box to be redrawn after the column information is modified. |
StatusInt mdlDialog_listBoxSetColInfoEx | ( | int * | widthP, |
int * | maxSizeP, | ||
UInt32 * | attributesP, | ||
WCharCP | headingP, | ||
short * | sortStatusP, | ||
ListColumnSortFuncP | sortFunc, | ||
MdlDesc * | sortOwnerMD, | ||
int * | sortSecondaryColP, | ||
RawItemHdr * | listBoxP, | ||
int | columnIndex, | ||
bool | redraw | ||
) |
Similar to the mdlDialog_listBoxSetColInfo but with added arguments.
[in] | widthP | set NULL if not setting width (in dcoords) |
[in] | maxSizeP | set NULL if not setting max sz |
[in] | attributesP | set NULL if not setting attr |
[in] | headingP | set NULL if not setting headng |
[in] | sortStatusP | points to a short representing the current sort status of the column. Possible values are NOSORT, 0, SORTED_ASCENDG or SORTED_DESCENDG. |
[in] | sortFunc | points to a sort function for column sorting. When using a ListModel, the signature of the sort function should conform to ListColumnSortFuncP in dlogitem.h. Also see mdlListColumn_setSortFunction. When using a StringList, see Bentley::mdlStringList_sort for callback formatting. |
[in] | sortOwnerMD | points to an MdlDescr pointer representing the Owner of the sortFunc |
[in] | sortSecondaryColP | points to an integer representing the secondary column to sort on for this column. |
[in] | listBoxP | listBox to get info on |
[in] | columnIndex | index of col to get info on |
[in] | redraw | redraw listBox? |
StatusInt mdlDialog_listBoxSetColumnHeading | ( | WCharCP | headingP, |
RawItemHdr * | listBoxP, | ||
int | columnIndex, | ||
bool | redraw | ||
) |
Updates a column's heading to a Unicode string.
[in] | headingP | points to a Unicode character buffer that contains the column's title. |
[in] | listBoxP | points to the RawItemHdr of the List Box containing the column in question. |
[in] | columnIndex | is the index of the column to update. |
[in] | redraw | is a boolean flag indicating whether the List Box to be redrawn after the column information is modified. |
StatusInt mdlDialog_listBoxSetDefaultSortColumn | ( | RawItemHdr * | listBoxP, |
int | columnIndex, | ||
short | sortStatus | ||
) |
Sets the default sort column for a ListBox.
This setting applies to a sortable ListBox before the user has clicked any column heading to sort.
[in] | listBoxP | the ListBox item to process. |
[in] | columnIndex | index of the default sort column. |
[in] | sortStatus | the initial status of the sort - SORTED_ASCENDG or SORTED_DESCENDG |
ErrorCode mdlDialog_listBoxSetFilter | ( | RawItemHdr * | listBoxP, |
bool | bFilter, | ||
WChar * | pwFilterTableName, | ||
UInt32 | filterId, | ||
bool | redraw | ||
) |
Changes the status of the filter for the specified List Box, and optionally redraws the List Box.
[in] | listBoxP | specifies the List Box in which the filter status is being changed. |
[in] | bFilter | specifies whether the filter row is being enabled or disabled. Set true to enable the filter row. |
[in] | pwFilterTableName | is the name space for the filter. |
[in] | filterId | is the id of the filter. |
[in] | redraw | indicates whether the List Box should be redrawn after the status change. Set true to redraw the List Box. |
ErrorCode mdlDialog_listBoxSetHighlightColumn | ( | RawItemHdr * | listBoxP, |
int | columnIndex | ||
) |
Sets the highlight column in the specified List Box.
[in] | listBoxP | is the List Box in which the highlight column is being set. |
[in] | columnIndex | is the index of the column to highlight. Set this to -1 to highlight all columns. |
StatusInt mdlDialog_listBoxSetInfo | ( | UInt32 * | attributesP, |
UInt32 * | nRowsP, | ||
UInt32 * | sizeNumColumnP, | ||
bool | redraw, | ||
RawItemHdr * | listBoxP | ||
) |
Sets several parameters associated with List Boxes.
The first three variables passed to each function are pointers to variables representing three parameters of the specified List Box. If any of the three pointers passed is NULL, that parameter is not set.
[in] | attributesP | points to an integer that contains the List Box's attributes. The bits that can be set include LISTATTR_LABEL_ON_SIDE, LISTATTR_RANGE_SELECTION, and so on. The constants are defined in dlogbox.r.h. |
[in] | nRowsP | points to an integer representing the number of rows the List Box can display at once. |
[in] | sizeNumColumnP | points to the integer allowing the List Box handler to automatically number the rows. The maximum number of digits necessary to number the rows is specified. For example, if a list can have up to 99 rows, 2 should be specified. If the integer pointed to by sizeNumColumnP is 0, the rows are not numbered. |
[in] | listBoxP | points to the RawItemHdr of the List Box in question. |
[in] | redraw | is a boolean flag indicating whether mdlDialog_listBoxSetInfo should cause the List Box to be redrawn after the List Box information is modified. |
StatusInt mdlDialog_listBoxSetInfoEx | ( | UInt32 * | attributesP, |
UInt32 * | nRowsP, | ||
UInt32 * | sizeNumColumnP, | ||
UInt32 * | attributesExP, | ||
bool | redraw, | ||
RawItemHdr * | listBoxP | ||
) |
Sets several parameters associated with List Boxes.
If any of the four pointers passed is NULL, that parameter is not set.
[in] | attributesP | points to a value that contains the List Box's attributes. The bits that can be set include LISTATTR_LABEL_ON_SIDE, LISTATTR_RANGE_SELECTION, and so on. The constants are defined in dlogbox.r.h. |
[in] | nRowsP | points to an value representing the number of rows the List Box can display at once. |
[in] | sizeNumColumnP | points to the value allowing the List Box handler to automatically number the rows. The maximum number of digits necessary to number the rows is specified. For example, if a list can have up to 99 rows, 2 should be specified. If the value pointed to by sizeNumColumnP is 0, the rows are not numbered. |
[in] | attributesExP | points to a value representing the extended attributes of the List Box. |
[in] | redraw | indicates whether the List Box should be redrawn after updating with the new values. |
[in] | listBoxP | points to the RawItemHdr of the List Box in question. |
StatusInt mdlDialog_listBoxSetKeySearchColumn | ( | RawItemHdr * | listBoxP, |
int | columnIndex | ||
) |
Sets the key search column for a ListBox.
The key search column is used to allow quick navigation of the list box contents via keystrokes.
[in] | listBoxP | the ListBox item to process. |
[in] | columnIndex | index to set as the key search column. |
ErrorCode mdlDialog_listBoxSetListModelP | ( | RawItemHdr * | listBoxP, |
ListModel * | pListModel, | ||
int | unused | ||
) |
Sets the ListModel pointer in the ListBox.
ListModels and StringLists are mutually exclusive.
[in] | listBoxP | points to the RawItemHdr for the ListBox item |
[in] | pListModel | points to the ListModel to be used as the data source for the ListBox |
[in] | unused | This parameter is not used. Set to 0. |
ErrorCode mdlDialog_listBoxSetListModelPEx | ( | RawItemHdr * | listBoxP, |
ListModel * | pListModel, | ||
int | unused, | ||
bool | redraw | ||
) |
An extension of mdlDialog_listBoxSetListModelP that allows control over the redrawing of the ListBox after setting the ListModel pointer.
[in] | listBoxP | points to the RawItemHdr for the ListBox item |
[in] | pListModel | points to the ListModel to be used as the data source for the ListBox |
[in] | unused | This parameter is not used. Set to 0. |
[in] | redraw | indicates whether to redraw the ListBox after setting the ListModel pointer |
StatusInt mdlDialog_listBoxSetLocationCursor | ( | RawItemHdr * | listBoxP, |
int | locationRow, | ||
int | locationCol | ||
) |
Sets the location of the selection cursor within a ListBox.
[in] | listBoxP | point to the RawItemHdr of the List Box in question. |
[in] | locationRow | is an integer indicating the selection cursor's row number. |
[in] | locationCol | is an integer indicating the selection cursor's column number. |
StatusInt mdlDialog_listBoxSetSelections | ( | RawItemHdr * | listBoxP, |
int | nSelections, | ||
SPoint2d * | selectionsP, | ||
bool | deselectAllFirst, | ||
bool | redraw | ||
) |
Sets which cells in a List Box are selected given a pointer to an array of cell coordinates.
The array is a series of contiguous SPoint2d structures, each of which has two short integer fields called x and y. nSelections is an integer indicating the number of cells to select, which is also the size of the array.
[in] | listBoxP | points to the RawItemHdr of the List Box in question. |
[in] | nSelections | indicates the number of selections in the array. |
[in] | selectionsP | points to the array of cell coordinates to select. |
[in] | deselectAllFirst | indicates whether all current selections should be dropped before the specified selections are made. |
[in] | redraw | indicates whether mdlDialog_listBoxSetSelections should cause the List Box to be redrawn after the selections are made. |
StatusInt mdlDialog_listBoxSetSelectionsX | ( | RawItemHdr * | listBoxP, |
int | nSelections, | ||
Point2d * | selectionsP, | ||
bool | deselectAllFirst, | ||
bool | redraw | ||
) |
Sets which cells in a List Box are selected given a pointer to an array of cell coordinates.
The array is a series of contiguous Point2d structures. nSelections is an integer indicating the number of cells to select, which is also the size of the array.
[in] | listBoxP | points to the RawItemHdr of the List Box in question. |
[in] | nSelections | indicates the number of selections in the array. |
[in] | selectionsP | points to the array of cell coordinates to select. |
[in] | deselectAllFirst | indicates whether all current selections should be dropped before the specified selections are made. |
[in] | redraw | indicates whether mdlDialog_listBoxSetSelections should cause the List Box to be redrawn after the selections are made. |
StatusInt mdlDialog_listBoxSetSortBeginRow | ( | RawItemHdr * | listBoxP, |
int | sortBeginRow | ||
) |
Sets the row from which to start user sorting.
[in] | listBoxP | the ListBox item to process. |
[in] | sortBeginRow | index of the row from which to start user sorting. |
StatusInt mdlDialog_listBoxSetSortColumn | ( | short * | sortStatusP, |
ListColumnSortFuncP | sortFunc, | ||
MdlDesc * | sortOwnerMD, | ||
int * | sortSecondaryColP, | ||
RawItemHdr * | listBoxP, | ||
int | columnIndex, | ||
bool | sort, | ||
bool | redraw | ||
) |
Sets the current sorted column and allows the setting of sort information on the column.
[in] | sortStatusP | points to a short representing the current sort status of the column. Possible values are NOSORT, 0, SORTED_ASCENDG or SORTED_DESCENDG. |
[in] | sortFunc | points to a sort function for column sorting. |
[in] | sortOwnerMD | points to an MdlDescr pointer representing the Owner of the sortFunc |
[in] | sortSecondaryColP | points to an integer representing the secondary column to sort on for this column. |
[in] | listBoxP | listBox to get info on |
[in] | columnIndex | index of col to set info on |
[in] | sort | sort? |
[in] | redraw | redraw listBox? |
ErrorCode mdlDialog_listBoxSetStrListP | ( | RawItemHdr * | listBoxP, |
StringListP | strListP, | ||
int | nColumns | ||
) |
Sets the StringList that the List Box item will use.
nColumns is the number of columns per row in the List Box. It should be set to the same number of columns that were specified in the List Box resource specification. A List Box item must have an item hook function attached to it and mdlDialog_listBoxSetStrListP must be called upon receipt of the DITEM_MESSAGE_CREATE message. Otherwise the List Box item won't know what to display as its contents.
[in] | listBoxP | ListBox to set strListP in |
[in] | strListP | list's StringList |
[in] | nColumns | number of columns in list |
ErrorCode mdlDialog_listBoxSetTopRow | ( | RawItemHdr * | listBoxP, |
int | topRowIndex | ||
) |
Sets the first displayed row of a List Box to be topRowIndex.
[in] | listBoxP | ListBox to set 1st disp. row |
[in] | topRowIndex | new first disp. row (0 based) |
ErrorCode mdlDialog_listBoxSetTopRowRedraw | ( | RawItemHdr * | listBoxP, |
int | topRowIndex, | ||
bool | redraw | ||
) |
Sets which row number of a List Box is displayed as the first row.
Optionally, it can also cause the List Box to be redrawn showing the new position.
[in] | listBoxP | points to the RawItemHdr of the List Box in question. |
[in] | topRowIndex | is the index of the row to be displayed as the new top row. |
[in] | redraw | indicates whether the ListBox should be redrawn. |
StatusInt mdlDialog_treeColumnSetIcon | ( | RawItemHdr * | pTree, |
int | columnIndex, | ||
UInt32 * | iconAlignmentP, | ||
RscId * | iconIdP, | ||
RscType * | iconTypeP, | ||
MdlDesc ** | iconOwnerMDP, | ||
BSIColorDescr ** | iconFgColorPP, | ||
BSIColorDescr ** | iconBgColorPP | ||
) |
Sets the icon information for a Tree column heading.
[in] | pTree | is the Tree item to process. |
[in] | columnIndex | index of col to set info on |
[in] | iconAlignmentP | points to an unsigned long representing the alignment to be used for the icon, set NULL if not setting |
[in] | iconIdP | points to a long representing the id of the icon to be used, set NULL if not setting |
[in] | iconTypeP | points to an unsigned long representing the type of icon to be used, set NULL if not setting |
[in] | iconOwnerMDP | points to the MDL Descriptor of the icon to be used, set NULL if not setting |
[in] | iconFgColorPP | the color descriptor for the foreground color, set NULL if not setting |
[in] | iconBgColorPP | the color descriptor for the background color, set NULL if not setting |