Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LAnnContainer::SetWnd

Show in webframe

#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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.