Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LRasterPaintWindow::FreeToolbar
#include "Ltwrappr.h"
static L_INT LRasterPaintWindow::FreeToolbar(pLToolbar)
LToolbar * pLToolbar; |
/* pointer to an LToolbar class object*/ |
Frees the toolbar handle's internal information and destroys the toolbar object.
Parameter |
Description |
pLToolbar |
Pointer to an LToolbar class object. |
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
LTPNT 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: |
LRasterPaintWindow::Initialize, LRasterPaintWindow::CreateToolbar, Class Members |
Example
L_INT LRasterPaintWindow_FreeToolbarExample(LToolbar * pLToolbar) { L_INT nRet; // Free The toolbar nRet = LRasterPaintWindow::FreeToolbar(pLToolbar); if(nRet != SUCCESS) return nRet; // Free The Automation nRet = LRasterPaintWindow::Free (); if(nRet != SUCCESS) return nRet; return SUCCESS; }