Functions | |
int | mdlListCell_getStatus (ListCellCP pCell) |
Returns the status of the specified ListCell. More... | |
StatusInt | mdlListCell_setStatus (ListCellP pCell, int status) |
Sets the status in the specified ListCell. More... | |
StatusInt | mdlListCell_getDisplayText (ListCellCP pCell, WCharCP *ppwString) |
Returns the display text of the specified ListCell in a WChar string. More... | |
StatusInt | mdlListCell_setDisplayText (ListCellP pCell, WCharCP pwString) |
Sets the display text of the specified ListCell from the given WChar. More... | |
StatusInt | mdlListCell_getDisplayTextWString (ListCellCP pCell, WStringR wString) |
Returns the display text of the specified ListCell in a WString. More... | |
ListRowP | mdlListCell_getRow (ListCellCP pCell) |
Returns the pointer to the parent ListRow for the specified ListCell. More... | |
ListColumnP | mdlListCell_getColumn (ListCellCP pCell) |
Returns the pointer to the parent ListColumn for the specified ListCell. More... | |
int | mdlListCell_getId (ListCellCP pCell) |
Returns the Id of the specified ListCell. More... | |
WCharCP | mdlListCell_getName (ListCellCP pCell) |
Gets the name of the specified ListCell. More... | |
BSIColorDescr * | mdlListCell_getColorDescr (ListCellCP pCell) |
Returns the color descriptor to use when drawing the text from the specified ListCell. More... | |
StatusInt | mdlListCell_setColorDescr (ListCellP pCell, BSIColorDescr *pDescr) |
Sets the color descriptor to use when drawing the specified ListCell. More... | |
BSIColorDescr * | mdlListCell_getBgColorDescr (ListCellCP pCell) |
Gets a pointer to the background color descriptor that is set for the specified ListCell. More... | |
StatusInt | mdlListCell_setBgColorDescr (ListCellP pCell, BSIColorDescr *pDescr) |
Sets the background color descriptor for the specified ListCell. More... | |
BSIColorDescr * | mdlListCell_getSelectedColorDescr (ListCellCP pCell) |
Returns the color descriptor to use when drawing the text from the specified ListCell when selected. More... | |
StatusInt | mdlListCell_setSelectedColorDescr (ListCellP pCell, BSIColorDescr *pDescr) |
Sets the color descriptor to use when drawing the specified ListCell when selected. More... | |
BSIColorDescr * | mdlListCell_getSelectedBgColorDescr (ListCellCP pCell) |
Gets a pointer to the background color descriptor that is set for the specified ListCell when selected. More... | |
StatusInt | mdlListCell_setSelectedBgColorDescr (ListCellP pCell, BSIColorDescr *pDescr) |
Sets the background color descriptor for the specified ListCell when selected. More... | |
int | mdlListCell_getFontIndex (ListCellCP pCell) |
Returns the font index to use when drawing the text from the specified ListCell. More... | |
StatusInt | mdlListCell_setFontIndex (ListCellP pCell, int fontIndex) |
Sets the font index to use when drawing the text from the specified ListCell. More... | |
StatusInt | mdlListCell_getIcon (ListCellCP pCell, RscId *pIconRscId, RscType *pIconRscType, MdlDescP *ppIconOwnerMD) |
Returns information about the icon to use when drawing the specified ListCell. More... | |
StatusInt | mdlListCell_setIcon (ListCellP pCell, RscId iconRscId, RscType iconRscType, MdlDescP iconOwnerMD) |
Sets information about the icon to use when drawing the specified ListCell. More... | |
StatusInt | mdlListCell_getIconRsc (ListCellCP pCell, IconRsc **ppIconRsc) |
Returns a pointer to the icon resource data to use when drawing the specified ListCell. More... | |
StatusInt | mdlListCell_setIconRsc (ListCellP pCell, IconRsc *pIconRsc) |
Sets the icon resource data to use when drawing the specified ListCell. More... | |
StatusInt | mdlListCell_setCompositeIconRsc (ListCellP pCell, IconRsc *pIconRsc, RscId iconRscId, RscType iconRscType, MdlDescP iconOwnerMD) |
Sets a composite icon resource data to use when drawing the specified ListCell. More... | |
StatusInt | mdlListCell_setIconByName (ListCellP pCell, WCharCP pIconName, Point2dCP pIconSize) |
Sets the name of the icon to use when drawing the specified ListCell. More... | |
StatusInt | mdlListCell_getIconColorOverrides (ListCellCP pCell, BSIColorDescr **ppFgColor, BSIColorDescr **ppBgColor) |
Returns the color descriptors to use when drawing the icons from the specified ListCell. More... | |
StatusInt | mdlListCell_setIconColorOverrides (ListCellP pCell, BSIColorDescr *pFgColor, BSIColorDescr *pBgColor) |
Sets the color descriptors to use when drawing the icons from the specified ListCell. More... | |
int | mdlListCell_getPixelIndent (ListCellCP pCell) |
Returns the number of pixels to indent before drawing the icon or text from the specified ListCell. More... | |
StatusInt | mdlListCell_setPixelIndent (ListCellP pCell, int pixelIndent) |
Sets the number of pixels to indent before drawing the icon or text from the specified ListCell. More... | |
StatusInt | mdlListCell_getValue (ListCellCP pCell, MSValueDescrR valueDescr) |
Returns a copy of the internal value descriptor of the specified ListCell. More... | |
StatusInt | mdlListCell_setValue (ListCellP pCell, MSValueDescrCR valueDescr, bool bSetDisplayText) |
Sets the internal value descriptor of the specified ListCell. More... | |
StatusInt | mdlListCell_getStringValue (ListCellCP pCell, WCharCP *ppwString) |
Returns the string value of the specified ListCell to the specified WChar. More... | |
StatusInt | mdlListCell_getStringValueWString (WStringR wString, ListCellCP pCell) |
Returns the string value of the specified ListCell to a WString. More... | |
StatusInt | mdlListCell_setStringValue (ListCellP pCell, WCharCP pwString, bool bSetDisplayText) |
Sets the internal value descriptor to the given WChar string in the specified ListCell. More... | |
StatusInt | mdlListCell_getLongValue (ListCellCP pCell, long *pValue) |
Returns the long value of the specified ListCell. More... | |
StatusInt | mdlListCell_setLongValue (ListCellP pCell, long value) |
Sets the internal value descriptor to a long in the specified ListCell. More... | |
StatusInt | mdlListCell_getUInt32Value (ListCellCP pCell, UInt32 *pValue) |
Returns the unsigned unsigned Int32 value of the specified ListCell. More... | |
StatusInt | mdlListCell_setUInt32Value (ListCellP pCell, UInt32 value) |
Sets the internal value descriptor to a unsigned Int32 in the specified ListCell. More... | |
StatusInt | mdlListCell_getPointerValue (ListCellCP pCell, UserDataP *ppValue) |
Returns the void pointer value of the specified ListCell. More... | |
StatusInt | mdlListCell_setPointerValue (ListCellP pCell, UserDataP value) |
Sets the internal value descriptor to a void pointer in the specified ListCell. More... | |
StatusInt | mdlListCell_getDoubleValue (ListCellCP pCell, double *pValue) |
Returns the double value of the specified ListCell. More... | |
StatusInt | mdlListCell_setDoubleValue (ListCellP pCell, double value) |
Sets the internal value descriptor to a double in the specified ListCell. More... | |
StatusInt | mdlListCell_getUInt64Value (ListCellCP pCell, UInt64 *pValue) |
Returns the UInt64 value of the specified ListCell. More... | |
StatusInt | mdlListCell_setUInt64Value (ListCellP pCell, UInt64 value) |
Sets the internal value descriptor to a UInt64 in the specified ListCell. More... | |
int | mdlListCell_getInfoFieldCount (ListCellCP pCell) |
Returns the number of info fields in a ListCell. More... | |
InfoField | mdlListCell_getInfoFieldInt64 (ListCellCP pCell, int index, StatusInt *pStatus) |
Returns the info field at a specified index in a ListCell as a 64-bit integer value. More... | |
Int32 | mdlListCell_getInfoFieldInt32 (ListCellCP pCell, int index, StatusInt *pStatus) |
Returns the info field at a specified index in a ListCell as a 32-bit integer value. More... | |
void * | mdlListCell_getInfoFieldPointer (ListCellCP pCell, int index, StatusInt *pStatus) |
Returns the info field at a specified index in a ListCell as a pointer value. More... | |
StatusInt | mdlListCell_setInfoFieldInt64 (ListCellP pCell, int index, InfoField value) |
Sets the information field at a specified index in a ListCell as a 64-bit integer. More... | |
StatusInt | mdlListCell_setInfoFieldInt32 (ListCellP pCell, int index, Int32 value) |
Sets the information field at a specified index in a ListCell as a 32-bit integer. More... | |
StatusInt | mdlListCell_setInfoFieldPointer (ListCellP pCell, int index, void const *value) |
Sets the information field at a specified index in a ListCell as a pointer value. More... | |
StatusInt | mdlListCell_getEditor (ListCellCP pCell, long *pEditorType, long *pEditorId, MdlDescP *pEditorOwnerMD, bool *pbEditDisplay, bool *pbUpdateDisplay) |
Gets information about the editor of the cell. More... | |
StatusInt | mdlListCell_setEditor (ListCellP pCell, long editorType, long editorId, MdlDescP editorOwnerMD, bool bEditDisplay, bool bUpdateDisplay) |
Sets information about the editor of the cell. More... | |
StatusInt | mdlListCell_setDisplayTextFromEditor (ListCell *pCell, RawItemHdr *parentRiP) |
Sets the display text for the cell based on the current value of the cell editor. More... | |
StatusInt | mdlListCell_setIconFromEditor (ListCell *pCell, RawItemHdr *parentRiP) |
Sets the icon for the cell based on the current value of the cell editor. More... | |
StatusInt | mdlListCell_getBalloonText (WStringR wString, ListCellCP pCell) |
Returns the balloon text set in ListCell as a WString. More... | |
StatusInt | mdlListCell_setBalloonText (ListCellP pCell, WCharCP pwText) |
Sets the balloon text in the specified ListCell. More... | |
WCharCP | mdlTreeCell_getName (GuiTreeCellCP pCell) |
Gets the name of the specified GuiTreeCell. More... | |
BSIColorDescr * | mdlTreeCell_getSelectedColorDescr (GuiTreeCellCP pCell) |
Returns the color descriptor to use when drawing the text from the specified GuiTreeCell when selected. More... | |
StatusInt | mdlTreeCell_setSelectedColorDescr (GuiTreeCellP pCell, BSIColorDescr *pDescr) |
Sets the color descriptor to use when drawing the specified GuiTreeCell when selected. More... | |
BSIColorDescr * | mdlTreeCell_getSelectedBgColorDescr (GuiTreeCellCP pCell) |
Gets a pointer to the background color descriptor that is set for the specified GuiTreeCell when selected. More... | |
StatusInt | mdlTreeCell_setSelectedBgColorDescr (GuiTreeCellP pCell, BSIColorDescr *pDescr) |
Sets the background color descriptor for the specified GuiTreeCell when selected. More... | |
StatusInt mdlListCell_getBalloonText | ( | WStringR | wString, |
ListCellCP | pCell | ||
) |
Returns the balloon text set in ListCell as a WString.
[in,out] | wString | reference to the WString that will receive the balloon text |
[in] | pCell | points to the ListCell to process |
BSIColorDescr* mdlListCell_getBgColorDescr | ( | ListCellCP | pCell | ) |
Gets a pointer to the background color descriptor that is set for the specified ListCell.
[in] | pCell | points to the ListCell to obtain the background color descriptor for. |
BSIColorDescr* mdlListCell_getColorDescr | ( | ListCellCP | pCell | ) |
Returns the color descriptor to use when drawing the text from the specified ListCell.
[in] | pCell | points to the ListCell to process |
ListColumnP mdlListCell_getColumn | ( | ListCellCP | pCell | ) |
Returns the pointer to the parent ListColumn for the specified ListCell.
[in] | pCell | points to the ListCell to process |
StatusInt mdlListCell_getDisplayText | ( | ListCellCP | pCell, |
WCharCP * | ppwString | ||
) |
Returns the display text of the specified ListCell in a WChar string.
[in] | pCell | points to the ListCell to process |
[in,out] | ppwString | points to the wide character pointer that will receive the address of the display text |
StatusInt mdlListCell_getDisplayTextWString | ( | ListCellCP | pCell, |
WStringR | wString | ||
) |
Returns the display text of the specified ListCell in a WString.
[in,out] | wString | the WString object that will receive the display text |
[in] | pCell | points to the ListCell to process |
StatusInt mdlListCell_getDoubleValue | ( | ListCellCP | pCell, |
double * | pValue | ||
) |
Returns the double value of the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in,out] | pValue | points to the double that will receive the value |
StatusInt mdlListCell_getEditor | ( | ListCellCP | pCell, |
long * | pEditorType, | ||
long * | pEditorId, | ||
MdlDescP * | pEditorOwnerMD, | ||
bool * | pbEditDisplay, | ||
bool * | pbUpdateDisplay | ||
) |
Gets information about the editor of the cell.
[in] | pCell | points to the ListCell to process |
[in,out] | pEditorType | resource type of the editor |
[in,out] | pEditorId | resource id of the editor |
[in,out] | pEditorOwnerMD | owner MdlDesc of the editor |
[in,out] | pbEditDisplay | receives value of "edit display text only" flag |
[in,out] | pbUpdateDisplay | receives value of "update display text after editing" flag |
int mdlListCell_getFontIndex | ( | ListCellCP | pCell | ) |
Returns the font index to use when drawing the text from the specified ListCell.
[in] | pCell | points to the ListCell to process. |
StatusInt mdlListCell_getIcon | ( | ListCellCP | pCell, |
RscId * | pIconRscId, | ||
RscType * | pIconRscType, | ||
MdlDescP * | ppIconOwnerMD | ||
) |
Returns information about the icon to use when drawing the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in,out] | pIconRscId | points to an integer that receives the icon resource Id |
[in,out] | pIconRscType | points to an integer that receives the icon resource type |
[in,out] | ppIconOwnerMD | points to a void pointer that is set to the address of the owner of the icon |
StatusInt mdlListCell_getIconColorOverrides | ( | ListCellCP | pCell, |
BSIColorDescr ** | ppFgColor, | ||
BSIColorDescr ** | ppBgColor | ||
) |
Returns the color descriptors to use when drawing the icons from the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in,out] | ppFgColor | points to the BSIColorDescr pointer that will receive the address of the internal color descriptor to use as the foreground color when drawing a MonoColor icon and the secondary foreground color when drawing a Fixed Color icon. |
[in,out] | ppBgColor | points to the BSIColorDescr pointer that will receive the address of the internal color descriptor to use as the background color when drawing a MonoColor icon and the secondary background color when drawing a Fixed Color icon. |
StatusInt mdlListCell_getIconRsc | ( | ListCellCP | pCell, |
IconRsc ** | ppIconRsc | ||
) |
Returns a pointer to the icon resource data to use when drawing the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in,out] | ppIconRsc | points to a void pointer that is set to the address of the icon resource data. |
int mdlListCell_getId | ( | ListCellCP | pCell | ) |
Returns the Id of the specified ListCell.
The Id of a Cell is the Id of the parent Column.
[in] | pCell | points to the ListCell to process |
int mdlListCell_getInfoFieldCount | ( | ListCellCP | pCell | ) |
Returns the number of info fields in a ListCell.
[in] | pCell | points to the ListCell to process |
Int32 mdlListCell_getInfoFieldInt32 | ( | ListCellCP | pCell, |
int | index, | ||
StatusInt * | pStatus | ||
) |
Returns the info field at a specified index in a ListCell as a 32-bit integer value.
[in] | pCell | points to the ListCell to process |
[in] | index | index of the info field to retrieve |
[in,out] | pStatus | status of the function call. SUCCESS, MDLERR_ADDRNOTVALID if pCell is invalid, or MDLERR_BADINDEX if index is invalid. |
InfoField mdlListCell_getInfoFieldInt64 | ( | ListCellCP | pCell, |
int | index, | ||
StatusInt * | pStatus | ||
) |
Returns the info field at a specified index in a ListCell as a 64-bit integer value.
[in] | pCell | points to the ListCell to process |
[in] | index | index of the info field to retrieve |
[in,out] | pStatus | status of the function call. SUCCESS, MDLERR_ADDRNOTVALID if pCell is invalid, or MDLERR_BADINDEX if index is invalid. |
void* mdlListCell_getInfoFieldPointer | ( | ListCellCP | pCell, |
int | index, | ||
StatusInt * | pStatus | ||
) |
Returns the info field at a specified index in a ListCell as a pointer value.
[in] | pCell | points to the ListCell to process |
[in] | index | index of the info field to retrieve |
[in,out] | pStatus | status of the function call. SUCCESS, MDLERR_ADDRNOTVALID if pCell is invalid, or MDLERR_BADINDEX if index is invalid. |
StatusInt mdlListCell_getLongValue | ( | ListCellCP | pCell, |
long * | pValue | ||
) |
Returns the long value of the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in,out] | pValue | points to the long that will receive the value |
WCharCP mdlListCell_getName | ( | ListCellCP | pCell | ) |
Gets the name of the specified ListCell.
The Name of a Cell is the name of the parent Column.
[in] | pCell | points to the ListCell from which the name string is obtained. |
int mdlListCell_getPixelIndent | ( | ListCellCP | pCell | ) |
Returns the number of pixels to indent before drawing the icon or text from the specified ListCell.
[in] | pCell | points to the ListCell to process |
StatusInt mdlListCell_getPointerValue | ( | ListCellCP | pCell, |
UserDataP * | ppValue | ||
) |
Returns the void pointer value of the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in,out] | ppValue | points to the void* that will receive the value |
ListRowP mdlListCell_getRow | ( | ListCellCP | pCell | ) |
Returns the pointer to the parent ListRow for the specified ListCell.
[in] | pCell | points to the ListCell to process |
BSIColorDescr* mdlListCell_getSelectedBgColorDescr | ( | ListCellCP | pCell | ) |
Gets a pointer to the background color descriptor that is set for the specified ListCell when selected.
[in] | pCell | points to the ListCell to obtain the background color descriptor for. |
BSIColorDescr* mdlListCell_getSelectedColorDescr | ( | ListCellCP | pCell | ) |
Returns the color descriptor to use when drawing the text from the specified ListCell when selected.
[in] | pCell | points to the ListCell to process |
int mdlListCell_getStatus | ( | ListCellCP | pCell | ) |
Returns the status of the specified ListCell.
The ListBox dialog item uses the status field. Valid values are the LISTCELLATTR_... definitions found in dlogitem.h.
[in] | pCell | points to the ListCell to process |
StatusInt mdlListCell_getStringValue | ( | ListCellCP | pCell, |
WCharCP * | ppwString | ||
) |
Returns the string value of the specified ListCell to the specified WChar.
[in] | pCell | points to the ListCell to process |
[in,out] | ppwString | points to the character pointer that will receive the address of the string value |
StatusInt mdlListCell_getStringValueWString | ( | WStringR | wString, |
ListCellCP | pCell | ||
) |
Returns the string value of the specified ListCell to a WString.
[in,out] | wString | reference to the WString that will receive the string value |
[in] | pCell | points to the ListCell to process |
StatusInt mdlListCell_getUInt32Value | ( | ListCellCP | pCell, |
UInt32 * | pValue | ||
) |
Returns the unsigned unsigned Int32 value of the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in,out] | pValue | points to the unsigned long that will receive the value |
StatusInt mdlListCell_getUInt64Value | ( | ListCellCP | pCell, |
UInt64 * | pValue | ||
) |
Returns the UInt64 value of the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in,out] | pValue | points to the UInt64 that will receive the value |
StatusInt mdlListCell_getValue | ( | ListCellCP | pCell, |
MSValueDescrR | valueDescr | ||
) |
Returns a copy of the internal value descriptor of the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in,out] | valueDescr | points to the ValueDescr that will receive a copy of the internal value descriptor |
StatusInt mdlListCell_setBalloonText | ( | ListCellP | pCell, |
WCharCP | pwText | ||
) |
Sets the balloon text in the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | pwText | points to the balloon text string |
StatusInt mdlListCell_setBgColorDescr | ( | ListCellP | pCell, |
BSIColorDescr * | pDescr | ||
) |
Sets the background color descriptor for the specified ListCell.
[in] | pCell | points to the ListCell for which the background color is being set. |
[in] | pDescr | points to the color descriptor to set for the cell. |
StatusInt mdlListCell_setColorDescr | ( | ListCellP | pCell, |
BSIColorDescr * | pDescr | ||
) |
Sets the color descriptor to use when drawing the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | pDescr | points to the BSIColorDescr to use. The BSIColorDescr pointer is copied into the ListCell; therefore, the application must maintain this pointer and associated BSIColorDescr. |
StatusInt mdlListCell_setCompositeIconRsc | ( | ListCellP | pCell, |
IconRsc * | pIconRsc, | ||
RscId | iconRscId, | ||
RscType | iconRscType, | ||
MdlDescP | iconOwnerMD | ||
) |
Sets a composite icon resource data to use when drawing the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | pIconRsc | points to the icon resource data. |
[in] | iconRscId | the icon resource Id |
[in] | iconRscType | the icon resource type |
[in] | iconOwnerMD | a void pointer to the owner of the icon |
StatusInt mdlListCell_setDisplayText | ( | ListCellP | pCell, |
WCharCP | pwString | ||
) |
Sets the display text of the specified ListCell from the given WChar.
[in] | pCell | points to the ListCell to process |
[in] | pwString | points to the new display text. The text itself is copied to an internal location in the ListCell; therefore, the application does not need to maintain the string pointer. |
StatusInt mdlListCell_setDisplayTextFromEditor | ( | ListCell * | pCell, |
RawItemHdr * | parentRiP | ||
) |
Sets the display text for the cell based on the current value of the cell editor.
The editor type should be a ComboBox, OptionButton or Text.
[in] | pCell | points to the ListCell to process |
[in] | parentRiP | the RawItemHdr pointer of the dialog item, such as a ListBox, to use the ListModel |
StatusInt mdlListCell_setDoubleValue | ( | ListCellP | pCell, |
double | value | ||
) |
Sets the internal value descriptor to a double in the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | value | a double to set as the new internal value. |
StatusInt mdlListCell_setEditor | ( | ListCellP | pCell, |
long | editorType, | ||
long | editorId, | ||
MdlDescP | editorOwnerMD, | ||
bool | bEditDisplay, | ||
bool | bUpdateDisplay | ||
) |
Sets information about the editor of the cell.
[in] | pCell | points to the ListCell to process |
[in] | editorType | resource type of the editor. Supported types are:
|
[in] | editorId | resource id of the editor |
[in] | editorOwnerMD | owner MdlDesc of the editor |
[in] | bEditDisplay | indicates whether to edit display text only |
[in] | bUpdateDisplay | indicates whether to update display text after editing |
StatusInt mdlListCell_setFontIndex | ( | ListCellP | pCell, |
int | fontIndex | ||
) |
Sets the font index to use when drawing the text from the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | fontIndex | the font index to use when drawing the text. Possible values are the FONT_DEX_... values in msdefs.h. |
StatusInt mdlListCell_setIcon | ( | ListCellP | pCell, |
RscId | iconRscId, | ||
RscType | iconRscType, | ||
MdlDescP | iconOwnerMD | ||
) |
Sets information about the icon to use when drawing the specified ListCell.
When setting the icon information in this manner, as opposed to using the mdlListCell_setIconRsc function, the ListModel is responsible for maintaining the icon resource data internally. The ListBox resource attributes must include LISTATTR_DRAWPREFIXICON to display icons.
[in] | pCell | points to the ListCell to process |
[in] | iconRscId | the icon resource Id |
[in] | iconRscType | the icon resource type |
[in] | iconOwnerMD | a void pointer to the owner of the icon |
StatusInt mdlListCell_setIconByName | ( | ListCellP | pCell, |
WCharCP | pIconName, | ||
Point2dCP | pIconSize | ||
) |
Sets the name of the icon to use when drawing the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | pIconName | the name of the icon. |
[in] | pIconSize | the size of the icon. |
StatusInt mdlListCell_setIconColorOverrides | ( | ListCellP | pCell, |
BSIColorDescr * | pFgColor, | ||
BSIColorDescr * | pBgColor | ||
) |
Sets the color descriptors to use when drawing the icons from the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | pFgColor | points to the BSIColorDescr to use as the foreground color when drawing a MonoColor icon. When drawing a Fixed Color icon, this color is used to draw the secondary foreground color. |
[in] | pBgColor | points to the BSIColorDescr to use as the background color when drawing a MonoColor icon. When drawing a Fixed Color icon, this color is used to draw the secondary background color. |
StatusInt mdlListCell_setIconFromEditor | ( | ListCell * | pCell, |
RawItemHdr * | parentRiP | ||
) |
Sets the icon for the cell based on the current value of the cell editor.
The editor type should be a ToggleButton.
[in] | pCell | points to the ListCell to process |
[in] | parentRiP | the RawItemHdr pointer of the dialog item, such as a ListBox, to use the ListModel |
StatusInt mdlListCell_setIconRsc | ( | ListCellP | pCell, |
IconRsc * | pIconRsc | ||
) |
Sets the icon resource data to use when drawing the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | pIconRsc | points to the icon resource data. The resource data pointed to must be maintained by the application. When the icon is no longer needed, mdlResource_free should be called. The ListBox resource attributes must include LISTATTR_DRAWPREFIXICON to display icons. |
StatusInt mdlListCell_setInfoFieldInt32 | ( | ListCellP | pCell, |
int | index, | ||
Int32 | value | ||
) |
Sets the information field at a specified index in a ListCell as a 32-bit integer.
[in] | pCell | points to the ListCell to process |
[in] | index | index of the information field to set |
[in] | value | new value of the information field |
StatusInt mdlListCell_setInfoFieldInt64 | ( | ListCellP | pCell, |
int | index, | ||
InfoField | value | ||
) |
Sets the information field at a specified index in a ListCell as a 64-bit integer.
[in] | pCell | points to the ListCell to process |
[in] | index | index of the information field to set |
[in] | value | new value of the information field |
StatusInt mdlListCell_setInfoFieldPointer | ( | ListCellP | pCell, |
int | index, | ||
void const * | value | ||
) |
Sets the information field at a specified index in a ListCell as a pointer value.
[in] | pCell | points to the ListCell to process |
[in] | index | index of the information field to set |
[in] | value | new value of the information field |
StatusInt mdlListCell_setLongValue | ( | ListCellP | pCell, |
long | value | ||
) |
Sets the internal value descriptor to a long in the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | value | a long to set as the new internal value. |
StatusInt mdlListCell_setPixelIndent | ( | ListCellP | pCell, |
int | pixelIndent | ||
) |
Sets the number of pixels to indent before drawing the icon or text from the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | pixelIndent | the number of pixels to indent before drawing the icon or text |
StatusInt mdlListCell_setPointerValue | ( | ListCellP | pCell, |
UserDataP | value | ||
) |
Sets the internal value descriptor to a void pointer in the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | value | a void pointer to set as the new internal value. |
StatusInt mdlListCell_setSelectedBgColorDescr | ( | ListCellP | pCell, |
BSIColorDescr * | pDescr | ||
) |
Sets the background color descriptor for the specified ListCell when selected.
[in] | pCell | points to the ListCell for which the background color is being set. |
[in] | pDescr | points to the color descriptor to set for the cell. |
StatusInt mdlListCell_setSelectedColorDescr | ( | ListCellP | pCell, |
BSIColorDescr * | pDescr | ||
) |
Sets the color descriptor to use when drawing the specified ListCell when selected.
[in] | pCell | points to the ListCell to process |
[in] | pDescr | points to the BSIColorDescr to use. The BSIColorDescr pointer is copied into the ListCell; therefore, the application must maintain this pointer and associated BSIColorDescr. |
StatusInt mdlListCell_setStatus | ( | ListCellP | pCell, |
int | status | ||
) |
Sets the status in the specified ListCell.
The ListBox dialog item uses the status field. Valid values are the LISTCELLATTR_... definitions found in dlogitem.h.
[in] | pCell | points to the ListCell to process |
[in] | status | indicates the new status of the ListCell |
StatusInt mdlListCell_setStringValue | ( | ListCellP | pCell, |
WCharCP | pwString, | ||
bool | bSetDisplayText | ||
) |
Sets the internal value descriptor to the given WChar string in the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | pwString | points to the wide character string to set as the new internal value. The text itself is copied to an internal location in the ListCell; therefore, the ListCell maintains its own text field. |
[in] | bSetDisplayText | true indicates to also set the display text to the input text string. |
StatusInt mdlListCell_setUInt32Value | ( | ListCellP | pCell, |
UInt32 | value | ||
) |
Sets the internal value descriptor to a unsigned Int32 in the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | value | a UInt32 to set as the new internal value. |
StatusInt mdlListCell_setUInt64Value | ( | ListCellP | pCell, |
UInt64 | value | ||
) |
Sets the internal value descriptor to a UInt64 in the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | value | a UInt64 to set as the new internal value. |
StatusInt mdlListCell_setValue | ( | ListCellP | pCell, |
MSValueDescrCR | valueDescr, | ||
bool | bSetDisplayText | ||
) |
Sets the internal value descriptor of the specified ListCell.
[in] | pCell | points to the ListCell to process |
[in] | valueDescr | points to the ValueDescr used to set the internal value descriptor |
[in] | bSetDisplayText | true indicates to also set the display text if the format type of the ValueDescr is FMT_STRG or FMT_WCHAR. |
WCharCP mdlTreeCell_getName | ( | GuiTreeCellCP | pCell | ) |
Gets the name of the specified GuiTreeCell.
The Name of a Cell is the name of the parent Column.
[in] | pCell | points to the ListCell from which the name string is obtained. |
BSIColorDescr* mdlTreeCell_getSelectedBgColorDescr | ( | GuiTreeCellCP | pCell | ) |
Gets a pointer to the background color descriptor that is set for the specified GuiTreeCell when selected.
[in] | pCell | points to the GuiTreeCell to obtain the background color descriptor for. |
BSIColorDescr* mdlTreeCell_getSelectedColorDescr | ( | GuiTreeCellCP | pCell | ) |
Returns the color descriptor to use when drawing the text from the specified GuiTreeCell when selected.
[in] | pCell | points to the GuiTreeCell to process |
StatusInt mdlTreeCell_setSelectedBgColorDescr | ( | GuiTreeCellP | pCell, |
BSIColorDescr * | pDescr | ||
) |
Sets the background color descriptor for the specified GuiTreeCell when selected.
[in] | pCell | points to the GuiTreeCell for which the background color is being set. |
[in] | pDescr | points to the color descriptor to set for the cell. |
StatusInt mdlTreeCell_setSelectedColorDescr | ( | GuiTreeCellP | pCell, |
BSIColorDescr * | pDescr | ||
) |
Sets the color descriptor to use when drawing the specified GuiTreeCell when selected.
[in] | pCell | points to the GuiTreeCell to process |
[in] | pDescr | points to the BSIColorDescr to use. The BSIColorDescr pointer is copied into the GuiTreeCell; therefore, the application must maintain this pointer and associated BSIColorDescr. |