L_INT LImageViewerCell::SetIconProperties(nIconIndex, pDispContainerIconProps, uFlags)
Changes the properties of the specific icon in the title bar.
A zero-based index of the icon in the title bar to change its properties. Pass -1 to set the properties to all icons.
Pointer to the DISPCONTAINERTITLEBARICONPROPS structure that contains the icon properties to change.
Reserved for future use. Pass 0.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Before calling LImageVieweCellr::SetIconProperties the user should:
To retrieve the properties of the specific icon in the title bar, call the LImageViewerCell::GetIconProperties function.
For more information on the available title bar icon properties, refer to the DISPCONTAINERTITLEBARICONPROPS structure.
Required DLLs and Libraries
For an example, refer to LImageViewerCell::ShowTitlebar.