Creating a Container

After initializing the container handle, the container must be created using the L_ContainerCreate function. The container will be attached to the window handle passed to L_ContainerCreate. In the sample given below the container pLeadContainer 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 */ 
L_ContainerCreate ( pLeadContainer, 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.

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C API Help