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 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: | 
Example
L_VOID TestFunction(HWND 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...  
}