Frees the toolbar information allocated by calling L_TBGetToolbarInfo.
#include "LtTLB.h"
L_LTTLB_API L_INT L_TBFreeToolbarInfo (pToolbar, pToolbarInfo )
Pointer to a toolbar handle.
Pointer to LTOOLBARINFO structure that contains the toolbar information to be freed.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes |
When the toolbar information is no longer needed, it should be freed by calling this function.
To get the current toolbar information, call L_TBGetToolbarInfo.
To change the current toolbar information, call L_TBGetToolbarInfo to get the current toolbar information. Change the information in the LTOOLBARINFO structure. Then call L_TBSetToolbarInfo to set the new toolbar information.
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.
For an example, refer to L_TBGetToolbarInfo.