LDialogBase::IsToolbarEnabled

#include "ltwrappr.h"

L_BOOL LDialogBase::IsToolbarEnabled(L_VOID) const

Determines whether displaying the toolbar is enabled or not.

Returns

TRUE

Displaying the toolbar is enabled.

FALSE

Displaying the toolbar is disabled.

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::EnableToolbar, Class Members

Topics:

Using Imaging Common Dialog

Example

L_INT LDialogBase_IsToolbarEnabledExample(LDialogBase & Dialog)
{
   if (!Dialog.IsToolbarEnabled())
   {
      Dialog.EnableToolbar ();
      MessageBox(NULL, TEXT("Displaying the toolbar has been enabled!"),
                 TEXT("Testing"), MB_OK);
   }
   else
      MessageBox(NULL, TEXT("Displaying the toolbar is already enabled!"),
                 TEXT("Testing"), MB_OK);
   return SUCCESS;
}