LDialogBase::EnableAutoProcess

#include "ltwrappr.h"

L_BOOL LDialogBase::EnableAutoProcess(bAuto=TRUE)

L_BOOL bAuto;

flag that indicates whether to enable auto processing

Enables or disables auto processing.

Parameter Description
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

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

Topics:

Using Imaging Common Dialog

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

LEADTOOLS Common Dialog C++ Class Library Help