LContainer::Free

Summary

Frees the container handle.

Syntax

#include "Ltwrappr.h"

L_INT LContainer::Free()

Returns

Value Meaning
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

See Also

Functions

Topics

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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.