Set the annotation container on the specified cell or sub-cell.
#include "ltivw.h"
L_LTIVW_API L_INT EXT_FUNCTION L_DispContainerSetAnnotationContainer(hCellWnd, nSubCellIndex, hAnnContainer, uFlags)
A handle to the window that represents the cell on which the function's effect will be applied.
A zero-based index into the image list attached to the cell specified in nCellIndex. This sub-cell is the one that the annotation container will be set to. Pass -2 to refer to the selected sub-cell. If the cell contains 1 frame then the nSubCellIndex should be 0.
Handle to the annotation container.
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This function sets the annotation container. To get the annotation container use L_DispContainerGetAnnotationContainer.
For an example, refer to L_DispContainerGetAnnotationContainer.