LImageViewerCell::GetHandle

#include "ltwrappr.h"

HDISPCONTAINER LImageViewerCell::GetHandle()

Gets the parent medical viewer handle.

Returns

HDISPCONTAINER

The function was successful.

NULL

An error occurred. Error can be retrieved from GetLastError(). Refer to Return Codes.

Comments

This method is used to get the handle in order to be able to run the medical viewer C API functions.

if no parent medical viewer is assigned to this cell, this the return value is NULL.

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:

LImageViewerCell::Create, LImageViewerCell::Destroy, LImageViewerCell::GetWindowHandle, Class Members

Topics:

Using the Image Viewer

 

Window Control/Image Viewer Functions: Using the Image Viewer

Example

This example check whether the medical viewer is initialized or not.

L_INT MyLImageViewer_GetHandleExample(LImageViewer& ImageViewerCell) 
{ 
   if (ImageViewerCell.GetHandle() == NULL) 
      return ERROR_INV_PARAMETER; 
   else 
      return SUCCESS; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Medical Image Viewer C++ Class Library Help