LVectorWindow::IsAutoPaintEnabled

Summary

Determines whether the vector window painting is enabled.

Syntax

#include "ltwrappr.h"

L_BOOL LVectorWindow::IsAutoPaintEnabled(L_VOID)

Returns

Value Meaning
TRUE Vector window painting is enabled.
FALSE Vector window painting is disabled.

Required DLLs and Libraries

See Also

Functions

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; 
} 

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.