LImageViewerCell::FreezeCell

#include "ltwrappr.h"

L_INT LImageViewerCell::FreezeCell (bFreeze, uFlags);

Freezes or un-freezes the specified cell.

Parameters

L_BOOL bFreeze

Flag that indicates whether to freeze or unfreeze the specified cell. Possible values are:

Value Meaning
TRUE Freeze the specified cell. No further container actions can be applied to this cell while it is frozen.
FALSE Un-freeze the specified cell. Actions associated with the container can be applied to the specified cell.

L_UINT uFlags

Flags that determine whether to apply the feature on the one cell only, or more than one cell. This value can only be used when the cell is attached to the LImageViewer through the function LImageViewer::InsertCell. Possible values are:

Value Meaning
CELL_APPLYTOTHIS [0x00000000] Apply the feature to this cell only.
CELL_APPLYTOALL [0x10000000] Apply the feature to all the cells in the Image Viewer.
CELL_APPLYTOSELECTED [0x20000000] Apply the feature to the selected cells in the Image Viewer.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Freezing a cell means that no actions using the mouse or the keyboard can be performed on the cell. Some cell properties can still be changed manually however using LImageViewerCell::SetCellProperties, LImageViewerCell::SelectCell and LImageViewer::SetProperties. For more information on actions associated with a container, refer to Applying Actions.

Required DLLs and Libraries

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Medical Image Viewer C++ Class Library Help