Gets the bounding rectangle for the cell.
#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerGetCellBounds(hCon, nCellIndex, lpRect, uFlags)
Handle to the container.
A zero-based index of the cell for which to get the bounding rectangle.
Pointer to a RECT structure to be updated with the bounding rectangle of the cell. The values in the structure are measured in pixels and are relative to the container coordinates.
Reserved for future use. Pass 0.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
For an example, refer to L_DispContainerGetWindowHandle.