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_VOID TestFunction(HWND hWnd)
{
   LDialogBase MyDialog;

   if (MyDialog.IsPreviewEnabled())
   {
      MessageBox(hWnd, TEXT("Show Preview Is Enabled"),TEXT("Example"),MB_OK|MB_ICONINFORMATION);
   }
   else
      MyDialog.EnablePreview();