LImageViewer::FreezeCell

#include "ltwrappr.h"

L_INT LImageViewer::FreezeCell (nCellIndex, bFreeze, uFlags);

L_INT nCellIndex;

/* index of the cell */

L_BOOL bFreeze

/* flag*/

L_UINT uFlags;

/* reserved for future use */

Freezes or un-freezes the specified cell. This function is available only in the Medical Imaging Suite toolkits.

Parameter

Description

nCellIndex

A zero-based index of the cell to freeze or un-freeze.

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.

uFlags

Reserved for future use. Must be zero.

Returns

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 LImageViewer::SetCellProperties, LImageViewer::SelectCell and LImageViewer::SetProperties. For more information on actions associated with a container, refer to Applying Actions.

Required DLLs and Libraries

LTIVW

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LImageViewer::Create, LImageViewer::RemoveCell, LImageViewer::InsertCell, LImageViewer::GetCellCount, LImageViewer::GetCellWindowHandle, LImageViewer::SetCellTag, LImageViewer::SetCellProperties, LImageViewer::GetCellProperties, LImageViewer::RepositionCell, LImageViewer::GetCellPosition, LImageViewer::SetCellBitmapList, LImageViewer::GetCellBitmapList, LImageViewer::GetCellBounds, LImageViewer::SelectCell, LImageViewer::IsCellSelected, LImageViewer::IsCellFrozen, Class Members

Topics:

Image Viewer Cells

 

Window Control/Image Viewer Functions: Image Viewer Cells

Example

For an example, refer to LImageViewer::GetCellCount.