L_LVKRN_API L_BOOL L_VecIsObjectHidden(pVector, pObject)
Returns a value that indicates whether or not the specified object is hidden.
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.
Required DLLs and Libraries
This example will determine whether the given object is hidden or not.
L_LTVKRNTEX_API 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;
}