LAnnContainer::SetWnd

Summary

Sets the window handle for the annotation object.

Syntax

#include "ltwrappr.h"

virtual L_INT LAnnContainer::SetWnd(hWnd)

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.