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_VOID TestFunction(HWND hWnd)
{
   LDialogBase MyDialog;

   if (MyDialog.IsAutoProcessEnabled())
   {
      MessageBox(hWnd, TEXT("Auto Process Is Enabled"),TEXT("Example"),MB_OK|MB_ICONINFORMATION);
   }
   else
      MyDialog.EnableAutoProcess();