L_ContainerIsOwnerDraw

#include "LtCon.h"

L_LTCON_API L_INT L_ContainerIsOwnerDraw(pContainer, pfOwnerDraw )

Determines whether the container is in owner draw mode.

Parameters

pCONTAINERHANDLE pContainer

Pointer to a container handle.

L_BOOL* pfOwnerDraw

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.

Returns

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

Comments

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.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_ContainerSetOwnerDraw.

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

LEADTOOLS Container and Automation C API Help