LRasterPaintWindow::FreeToolbar

Summary

Frees the toolbar handle's internal information and destroys the toolbar object.

Syntax

#include "Ltwrappr.h"

static L_INT LRasterPaintWindow::FreeToolbar(pLToolbar)

Parameters

LToolbar * pLToolbar

Pointer to an LToolbar class object.

Returns

Value Meaning
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

See Also

Functions

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; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DigitalPaint C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.