LAnnContainer::SetWnd

#include "ltwrappr.h"

virtual L_INT LAnnContainer::SetWnd(hWnd)

HWND hWnd;

the window handle

Sets the window handle for the annotation object.

Parameter

Description

hWnd

The window handle.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

You set this property on the root container, and all objects in the container inherit the property.

Required DLLs and Libraries

LTANN

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

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Annotation Functions: Global Properties

 

Implementing Annotations

Example

L_INT LAnnContainer_SetWndExample(LAnnContainer *pLAnnContainer,HWND hWnd) 
{ 
   L_INT nRet = SUCCESS; 
   /* Set the window to the current window, unless it is already current */ 
   if(pLAnnContainer->GetWnd()!=hWnd) 
      nRet = pLAnnContainer->SetWnd(hWnd); 
   return nRet; 
} 

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