Retrieves the properties of the specific icon in the title bar.
#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerGetIconProperties(hCellWnd, nIconIndex, pDispContainerIconProps, uFlags)
A handle to the window that represents the cell on which the function's effect will be applied.
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 L_DispContainerGetIconProperties the user should:
To change the properties of a title bar icon, call the L_DispContainerSetIconProperties function.
For more information on the available icon properties, refer to the DISPCONTAINERTITLEBARICONPROPS structure.
For an example, refer to L_DispContainerShowTitlebar.