L_TBFree

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBFree(pToolbar )

pTOOLBARHANDLE pToolbar;

pointer to a toolbar handle

Frees the toolbar handle.

Parameter

Description

pToolbar

Pointer to a toolbar handle.

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:

L_TBInit, L_TBCreate

Topics:

Initializing and Freeing Toolbars

Example

L_INT TBFreeExample( pTOOLBARHANDLE pLeadToolbar ) 
{ 
   L_INT nRet; 
   nRet = L_TBIsValid ( pLeadToolbar ); 
   if ( nRet == SUCCESS) 
   { 
      nRet = L_TBFree ( pLeadToolbar ); 
      if(nRet != SUCCESS) 
         return nRet; 
      return SUCCESS; 
   } 
   else 
      return nRet; 
} 

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