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::EnablePreview

Show in webframe

#include "ltwrappr.h"

L_BOOL LDialogBase::EnablePreview(bEnablePreview=TRUE)

L_BOOL bEnablePreview;

/* flag that indicates whether to enable showing a preview */

Enables or disables preview showing for the dialogs.

Parameter

Description

bEnablePreview

Flag that indicates whether to enable showing the preview. Possible values are:

 

Value

Meaning

 

TRUE

Enable showing the preview.

 

FALSE

Disable showing the preview.

Returns

The previous state for EnablePreview.

Comments

When the preview is enabled, dialogs that support image preview will display a thumbnail view of the image that allows the user to preview the operation before dismissing the dialog box.

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

Topics:

Using Imaging Common Dialog

Example

L_INT LDialogBase_EnablePreviewExample(HWND hWnd)
{
   UNREFERENCED_PARAMETER(hWnd);
   LBase::LoadLibraries(LT_ALL_LEADLIB);   //make sure all libraries are loaded
   LDialogImage  MyDialog;
   MyDialog.EnableAutoProcess(); 
   MyDialog.EnablePreview(FALSE);     //Stop dialog preview
   // Call Rotate Dialog...  
   return SUCCESS;
} 
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.