Determines whether the container is in owner draw mode.
#include "LtCon.h"
L_LTCON_API L_INT L_ContainerIsOwnerDraw(pContainer, pfOwnerDraw )
Pointer to a container handle.
Pointer to the variable to be updated with the draw mode of the container's current owner. Possible values:
Value | Meaning |
---|---|
TRUE | The container is in owner draw mode. |
FALSE | The container is not in owner draw mode. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
If owner draw mode is disabled, the drawing of objects in the container is handled automatically. If owner draw mode is enabled, the user must handle all aspects of drawing objects in the container.
For an example, refer to L_ContainerSetOwnerDraw.