LAnnContainer::SetWnd

#include "ltwrappr.h"

virtual L_INT LAnnContainer::SetWnd(hWnd)

Sets the window handle for the annotation object.

Parameters

HWND hWnd

The window handle.

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

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 21.0.2021.4.8
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help