LDialogBase::EnableAutoProcess

#include "ltwrappr.h"

L_BOOL LDialogBase::EnableAutoProcess(bAuto=TRUE)

Enables or disables auto processing.

Parameters

L_BOOL bAuto

Flag that indicates whether to enable auto processing. Possible values are:

Value Meaning
TRUE Enable auto processing.
FALSE Disable auto processing.

Returns

The previous state of EnableAutoProcess.

Comments

If autoprocessing is enabled, the dialog will attempt to process the LBitmapBase object associated with it when you display a dialog that supports autoprocessing.

Before auto processing can be performed by a dialog other than FileOpen, the class object must have a valid LBitmapBase object associated with it. See LDialogBase::SetBitmap for more information.

Required DLLs and Libraries

See Also

Functions

Topics

Example

L_INT LDialogBase_EnableAutoProcessExample(HWND hWnd) 
 
{ 
   LDialogBase MyDialog; 
 
   if (MyDialog.IsAutoProcessEnabled()) 
 
   { 
 
      MessageBox(hWnd, TEXT("Auto Process Is Enabled"),TEXT("Example"),MB_OK|MB_ICONINFORMATION); 
 
   } 
 
   else 
 
      MyDialog.EnableAutoProcess(); 
 
   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