LEADTOOLS Common Dialog C++ Class Library Help > Classes and Functions Members > LDialogBase > LDialogBase Class Members > 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 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: |
|
Topics: |
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; }