LDialogBase::EnableToolbar

#include "ltwrappr.h"

L_BOOL LDialogBase::EnableToolbar(bEnableToolbar=TRUE)

L_BOOL bEnableToolbar;

/* flag that indicates whether to display the toolbar */

Enables or disables the displaying of the toolbar in the dialogs.

Parameter

Description

bEnableToolbar

Flag that indicates whether to display the toolbar in the dialogs. Possible values are:

 

Value

Meaning

 

TRUE

Display the toolbar.

 

FALSE

Do not display the toolbar.

Returns

The previous state for EnableToolbar.

Comments

Only dialogs that support displaying the toolbar are affected by this function.

Required DLLs and Libraries

LTDLGKRN
LTDLGUTL
LTDLGCTRL
LTDLGCOM

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:

LDialogBase::IsToolbarEnabled, Class Members

Topics:

Using Imaging Common Dialog

Example

For an example, refer to LDialogBase::IsToolbarEnabled.