Returns a value that indicates whether or not the specified object is hidden.
#include "ltvkrn.h"
L_LVKRN_API L_BOOL L_VecIsObjectHidden(pVector, pObject)
Pointer to a vector handle.
Pointer to a vector object.
Value | Meaning |
---|---|
TRUE | The specified object is hidden. |
FALSE | The specified object is not hidden. |
If pObject is NULL and any object inside the vector handle is currently hidden, this function will return TRUE.
This example will determine whether the given object is hidden or not.
L_INT VecIsObjectHiddenExample(
pVECTORHANDLE pVector,
pVECTOROBJECT pObject)
{
if( L_VecIsObjectHidden( pVector, pObject ) )
MessageBox( NULL, TEXT("Object is hidden"), TEXT("Test"), MB_OK );
else
MessageBox( NULL, TEXT("Object is visible"), TEXT("Test"), MB_OK );
return SUCCESS;
}