LVectorObject::IsObjectHidden

#include "ltwrappr.h"

L_INT LVectorObject::IsObjectHidden(pbHidden)

L_BOOL L_FAR *pbHidden;

/* pointer to a variable */

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

Parameter

Description

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

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function is not supported in the DirectX engine.

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:

LVectorObject::HideObject, Class Members

Topics

Vector Images: Obtaining Object Information

 

Working with Vector Objects

Example

//This example will check if the given vector object is hidden or not
void Example26(HWND hWnd, LVectorBase *pVector, LVectorObject *pObject ) 
{
    L_BOOL bHidden;

    if( pObject->IsObjectHidden( &bHidden ) )
        MessageBox( NULL, TEXT("Object is hidden"), TEXT("Test"), MB_OK );
    else
       MessageBox( NULL, TEXT("Object is not hidden"), TEXT("Test"), MB_OK );
}