Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Container and Automation C++ Class Library Help

Creating a Container

Show in webframe

After initializing the container handle, the container must be created using the LContainer::Create function. The container will be attached to the window handle passed to LContainer::Create. In the sample given below the container is created and attached to the window referenced by hWnd. The window referenced by hWnd becomes the owner of the container.

 

/* Create the container and attach it to its owner window */
lcont.Create (hWnd ) ;

 

In an MDI environment a single container can be initialized and created for every MDI child window.

The owner of a window can be changed. For more information, refer to Getting and Setting Container Properties.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.