LToolbar::Free

#include "ltwrappr.h"

L_INT LToolbar::Free (void)

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;
}