LDialogBase::EnablePreview

#include "ltwrappr.h"

L_BOOL LDialogBase::EnablePreview(bEnablePreview=TRUE)

Enables or disables preview showing for the dialogs.

Parameters

L_BOOL 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

See Also

Functions

Topics

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

LEADTOOLS Common Dialog C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.