Products | Support | Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Common Dialog C++ Class Library Help

LDialogBase::IsPreviewEnabled

Show in webframe

#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;
} 
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.