LVectorObject::IsObjectHidden

Summary

Returns a value that indicates whether the class object is hidden.

Syntax

#include "ltwrappr.h"

L_INT LVectorObject::IsObjectHidden(pbHidden)

Parameters

L_BOOL *pbHidden

Pointer to a variable to be updated with a value that indicates whether or not the class object is hidden. Possible values are:

Value Meaning
TRUE The class object is hidden.
FALSE The class object is not hidden.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

See Also

Functions

Topics

Example

This example will check if the given vector object is hidden or not.

L_INT LVectorObject__IsObjectHiddenExample(HWND hWnd, LVectorBase *pVector, LVectorObject *pObject )  
{ 
   UNREFERENCED_PARAMETER(pVector); 
   UNREFERENCED_PARAMETER(hWnd); 
 
   L_INT    nRet; 
   L_BOOL   bHidden; 
 
   nRet = pObject->IsObjectHidden( &bHidden ); 
   if(nRet != SUCCESS) 
      return nRet; 
 
   if(bHidden) 
      MessageBox( NULL, TEXT("Object is hidden"), TEXT("Test"), MB_OK ); 
   else 
      MessageBox( NULL, TEXT("Object is not hidden"), TEXT("Test"), MB_OK ); 
 
   return SUCCESS; 
} 

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.