LDialogBase::IsPreviewEnabled

#include "ltwrappr.h"

L_BOOL LDialogBase::IsPreviewEnabled(L_VOID) const

Enables or disables the dialog preview.

Returns

TRUE

Showing the preview is enabled.

FALSE

Showing the preview is disabled.

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_IsPreviewEnabledExample(HWND hWnd) 
{ 
   LDialogBase MyDialog; 
   if (MyDialog.IsPreviewEnabled()) 
   { 
      MessageBox(hWnd, TEXT("Show Preview Is Enabled"),TEXT("Example"),MB_OK|MB_ICONINFORMATION); 
   } 
   else 
      MyDialog.EnablePreview(); 
   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