L_ContainerIsEnabled

#include "LtCon.h"

L_LTCON_API L_INT L_ContainerIsEnabled(pContainer, pfEnabled)

pCONTAINERHANDLE pContainer;

/* pointer to a container handle */

L_BOOL* pfEnabled;

/* pointer to a variable to be updated */

Determine if the container is currently enabled or not.

Parameter

Description

pContainer

Pointer to a container handle.

pfEnabled

Pointer to the variable to be updated with the state of the container. Possible values are:

 

Value

Meaning

 

TRUE

The container is enabled.

 

FALSE

The container is disabled.

Comments

The container must be enabled in order to edit objects.

To enable or disable a container, use L_ContainerSetEnable.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTCON

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:

L_ContainerSetEnabled

Topics:

Getting and Setting Container Properties

Example

For an example, refer to L_ContainerSetEnabled.