#include "Ltwrappr.h"
L_INT LContainer::SetEnabled (bEnable)
L_BOOL bEnable; |
enable/disable flag |
Enables or disables the container.
| Parameter | Description | |
| bEnable | Flag that indicates whether to enable or disable the container. Possible values are: | |
| Value | Meaning | |
| TRUE | Enable the container. | |
| FALSE | Disable the container. | |
In order to edit objects in a container, the container must be enabled.
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 |
Functions: |
|
Topics: |
This example toggles the enabling state of the container.
L_INT LContainer_SetEnabledExample(LContainer & lcont){L_BOOL fEnable ;/* Get the enabling state of the container */fEnable = lcont.IsEnabled () ;/* Toggle the state and return */return lcont.SetEnabled (! fEnable ) ;}