LToolbar::Free

#include "ltwrappr.h"

L_INT LToolbar::Free ()

Frees the toolbar handle internal information.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

When the toolbar handle is no longer needed, this function should be called to free it.

Required DLLs and Libraries

LTTLB

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:

LToolbar::Initialize, Class Members

Topics:

Initializing and Freeing Toolbars

Example

L_INT LToolbar__FreeExample(LToolbar* tlb) 
{ 
   L_INT nRet; 
   if ( tlb->IsValid () ) 
   { 
      nRet = tlb->Free () ; 
      if(nRet != SUCCESS) 
         return nRet; 
   } 
   else 
   { 
      return FAILURE ; 
   } 
   return SUCCESS; 
} 

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