L_ContainerIsEnabled

#include "LtCon.h"

L_LTCON_API L_INT L_ContainerIsEnabled(pContainer, pfEnabled)

Determines whether the container is currently enabled.

Parameters

pCONTAINERHANDLE pContainer

Pointer to a container handle.

L_BOOL* 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

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

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_ContainerSetEnabled.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.