LDialogBase::IsToolbarEnabled

Summary

Determines whether displaying the toolbar is enabled or not.

Syntax

#include "ltwrappr.h"

L_BOOL LDialogBase::IsToolbarEnabled(L_VOID) const

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

LEADTOOLS Common Dialog C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.