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

LVectorWindow::IsAutoPaintEnabled

Show in webframe

#include "ltwrappr.h"

L_BOOL LVectorWindow::IsAutoPaintEnabled(L_VOID)

Determines whether the vector window painting is enabled.

Returns

TRUE

Vector window painting is enabled.

FALSE

Vector window painting is disabled.

Required DLLs and Libraries

LVKRN

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:

LVectorWindow::EnableAutoPaint, LVectorWindow::Repaint, Class Members

Example

Toggles (enable/disable) the AutoPaint feature

Assumes pVectorWindow points to a valid LVectorWindow object

L_INT LVectorWindow__IsAutoPaintEnabledExample(HWND hWndParent, LVectorWindow *pVectorWindow)
{
   pVectorWindow->EnableAutoPaint( !pVectorWindow->IsAutoPaintEnabled());
   if (pVectorWindow->IsAutoPaintEnabled())
      SetWindowText(hWndParent, TEXT("AutoPaint Enabled"));
   else
      SetWindowText(hWndParent, TEXT("AutoPaint Disabled"));
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.