Frees the toolbar handle.
#include "LtTLB.h"
L_LTTLB_API L_INT L_TBFree(pToolbar)
Pointer to a toolbar handle.
| Value | Meaning |
|---|---|
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes |
When the toolbar handle is no longer needed, this function should be called to free it.
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.
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;}elsereturn nRet;}