LDialogBase::EnablePreview

#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; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Common Dialog C++ Class Library Help