LContainer::Free

#include "Ltwrappr.h"

L_INT LContainer::Free ()

Frees the container handle.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Freeing the container handle will detach it from its owner window.

Required DLLs and Libraries

LTCON

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LContainer::IsValid, LContainer::Initialize.

Topics:

Initializing and Freeing Containers

Example

L_INT LContainer_FreeExample(LContainer & lcon) 
{ 
   L_INT nRet; 
   nRet = lcon.IsValid (); 
   if ( nRet == SUCCESS) /* check the validity of container handle */ 
   { 
      /* Free the container handle */ 
      nRet = lcon.Free () ; 
      if(nRet != SUCCESS) 
         return nRet; 
   } 
   else 
   { 
      return nRet ; 
   } 
   return SUCCESS ; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Container and Automation C++ Class Library Help