LAnnotationWindow::LAnnotationWindow

Summary

Constructs and initializes the member variables of the LAnnotationWindow object.

Syntax

#include "ltwrappr.h"

LAnnotationWindow::LAnnotationWindow()

LAnnotationWindow::LAnnotationWindow(hWndParent, nID=0, dwStyle=WS_VISIBLE|L_BS_CENTER|L_BS_PROCESSKEYBOARD, x=0, y=0, nCx=200, nCy=200)

Parameters

HWND hWndParent

Handle to the parent window.

L_INT nID

The control's id.

DWORD dwStyle

The control's style. Apply any combination of window styles and LEAD window styles. For more information on Windows styles, refer to your compilers help. For more information on LEAD window styles, refer to Bitmap Window LEAD specific styles.

L_INT x

X coordinate of the origin of the annotation window.

L_INT y

Y coordinate of the origin of the annotation window.

L_INT nCx

The width of the annotation window.

L_INT nCy

The height of the annotation window.

Returns

None.

Comments

LAnnotationWindow::LAnnotationWindow() is the default constructor for this class.

LAnnotationWindow::LAnnotationWindow(hWndParent, nID, dwStyle, x, y, nCx, nCy) creates the window for the class object using the specified parameters and initializes the annotation automation engine.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

This is an example for LAnnotationWindow::LAnnotationWindow():

L_INT LAnnotationWindow_LAnnotationWindowFirstExample() 
{ 
 
    // this will call the default constructor and destructor when it is out of scope 
    LAnnotationWindow LeadBitmapAnnWindow; 
 
    //… 
	return SUCCESS; 
} 
 
//This is an example for LAnnotationWindow::LAnnotationWindow(hWndParent, nID, dwStyle, x, y, nCx, nCy) 
 
L_INT LAnnotationWindow_LAnnotationWindowSecondExample(HWND hParentWnd) 
{ 
   // this will call the constructor and will initialize the bitmap window with the specified parameters. 
 
  LAnnotationWindow MyLAnnotationWindow(hParentWnd, 15); 
 
   //… 
   //… 
	 
  return SUCCESS; 
} 

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.