Products | Support | Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Common Dialog C++ Class Library Help

LDialogBase::EnableAutoProcess

Show in webframe

#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;
} 
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.