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; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Common Dialog C++ Class Library Help