Retrieves the properties of the specific icon in the title bar.
#include "ltwrappr.h"
L_INT LImageViewerCell::GetIconProperties(nIconIndex, pDispContainerIconProps, uFlags)
A zero-based index of the icon in the title bar to retrieve its properties.
Pointer to a DISPCONTAINERTITLEBARICONPROPS structure to be updated with the specific icon properties.
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Before calling LImageViewerCell::GetIconProperties the user should:
To change the properties of a title bar icon, call the LImageViewerCell::SetIconProperties function.
For more information on the available icon properties, refer to the DISPCONTAINERTITLEBARICONPROPS structure.
For an example, refer to LImageViewerCell::ShowTitlebar.