LDialogBase::IsToolbarEnabled

#include "ltwrappr.h"

L_BOOL LDialogBase::IsToolbarEnabled(L_VOID) const

Determines whether displaying the toolbar is enabled or not.

Returns

Value Meaning
TRUE Displaying the toolbar is enabled.
FALSE Displaying the toolbar is disabled.

Required DLLs and Libraries

See Also

Functions

Topics

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 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Common Dialog C++ Class Library Help