Returns a value that indicates whether the specified cell is frozen.
L_LTIVW_API L_BOOL L_DispContainerIsCellFrozen(hCellWnd, uFlags)
A handle to the window that represents the cell on which the function's effect will be applied.
Reserved for future use. Pass 0.
|TRUE||The cell is frozen.|
|FALSE||The cell is not frozen, or an error occurred. To get extended error information, call GetLastError.|
To freeze or un-freeze a cell, call L_DispContainerFreezeCell.
When a cell is frozen no actions using the mouse or the keyboard can be performed on the cell. Some cell properties can still be changed manually however, using L_DispContainerSetCellProperties, L_DispContainerSelectCell and L_DispContainerSetProperties. For more information on actions associated with a container, refer to Applying Actions.
This procedure unfreezes any frozen cell
L_INT DispContainerIsCellFrozenExample(HDISPCONTAINER hCon)
// Get the cells count.
L_INT nCount = L_DispContainerGetCellCount (hCon, 0);
for (nI = 0; nI < nCount; nI++)
HWND hCellWnd = L_DispContainerGetCellWindowHandle(hCon, nI, 0);
// if there is a selected cell make it unselected and vice versa
L_BOOL bFreezed = L_DispContainerIsCellFrozen(hCellWnd, 0);
nRet = L_DispContainerFreezeCell (hCellWnd, FALSE, 0);
if(nRet != SUCCESS)