#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerGetSelectedNorbergValue(hCellWnd, nSubCellIndex, pnFirstAngle, pnSecondAngle)
Retrieves the angles of the selected norberg annotation object.
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 hCellWnd. This sub-cell contains the selected norberg annotation object. Pass -2 to apply this effect on the selected sub-cell.
Pointer to a variable to be updated with the first angle of the norberg annotation object, the one on the left.
Pointer to a variable to be updated with the second angle of the norberg annotation object, the one on the right.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To create a norberg annotation, add the action using the function L_DispContainerAddAction and pass the action id CONTAINER_ACTION_ANNOTATION_NORBERG, then set the action by passing the formentioned action id to the function L_DispContainerSetAction.
Required DLLs and Libraries