LImageViewerCell::IsCellFrozen

#include "ltwrappr.h"

L_BOOL LImageViewerCell::IsCellFrozen(uFlags);

Returns a value that indicates whether the specified cell is frozen.

Parameters

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

Value Meaning
TRUE The cell is frozen.
FALSE The cell is not frozen, or an error occurred. To get extended error information, call GetLastError.

Comments

To freeze or un-freeze a cell, call LImageViewerCell::FreezeCell.

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

Required DLLs and Libraries

See Also

Functions

Topics

Example

This procedure unfreezes any frozen cell.

L_INT LImageViewer_IsCellFrozenExample(LImageViewer& ImageViewer)  
{ 
   // Get the cells count.  
 
   L_INT    nCount = ImageViewer.GetCellCount(0);  
   L_INT    nI;  
   L_INT    nRet = 0 ;  
 
   // if there is a Frozen cell, make it unFrozen and vice versa 
 
   LImageViewerCell * ImageViewerCell; 
   for (nI = 0; nI < nCount; nI++) 
   { 
      ImageViewerCell = ImageViewer.GetCellHandle(nI, 0); 
      nRet = ImageViewerCell->FreezeCell(!ImageViewerCell->IsCellFrozen(0), 0);  
      if(nRet != SUCCESS) 
         return nRet; 
   } 
 
   return SUCCESS; 
} 

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

LEADTOOLS Medical Image Viewer C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.