Gets the current properties of the specified cell.
#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerGetCellProperties(hCellWnd, pCellProperties, uFlags)
A handle to the window that represents the cell on which the function's effect will be applied.
Pointer to a DISPCELLPROPERTIES structure to be updated with the current cell 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_DispContainerGetCellProperties apply the following:
declare a variable of type DISPCELLPROPERTIES.
set DISPCELLPROPERTIES.uStructSize to sizeof(DISPCELLPROPERTIES)
set DISPCELLPROPERTIES.uMask to indicate the properties to be updated with the current values
pass a pointer to the DISPCELLPROPERTIES structure to L_DispContainerGetCellProperties as the pCellProperties parameter.
To set new cell properties, call L_DispContainerSetCellProperties.
For more information on the available properties that can be used to control the behavior of the cell, refer to the DISPCELLPROPERTIES structure.
For an example, refer to L_DispContainerCreate.