L_TBSetVisible

#include "LtTLB.h"

L_LTTLB_API L_INT L_TBSetVisible (pToolbar, fVisible )

pTOOLBARHANDLE pToolbar;

/* pointer to a toolbar handle */

L_BOOL fVisible;

/* visibility flag */

Sets the toolbar visibility.

Parameter

Description

pToolbar

Pointer to a toolbar handle.

fVisible

Flag that indicates whether to show or hide the toolbar. Possible values are:

 

Value

Meaning

 

TRUE

Show the toolbar.

 

FALSE

Hide the toolbar.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes

Comments

To determine the current toolbar visibility status, call L_TBIsVisible.

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:

L_TBIsVisible.

Topics:

Getting and Setting Toolbar Characterisitcs

Example

For an example, refer to L_TBCreate.