Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_ContainerIsOwnerDraw
#include "LtCon.h"
L_LTCON_API L_INT L_ContainerIsOwnerDraw(pContainer, pfOwnerDraw )
pCONTAINERHANDLE pContainer; |
/* pointer to a container handle */ |
L_BOOL* pfOwnerDraw; |
/* pointer to a variable to be updated */ |
Determines if the container is in owner draw mode or not.
Parameter |
Description |
|
pContainer |
Pointer to a container handle. |
|
pfOwnerDraw |
Pointer to the variable to be updated with the container's current owner draw mode. Possible values: |
|
|
Value |
Meaning |
|
TRUE |
The container is in owner draw mode. |
|
FALSE |
The container is not in owner draw mode. |
Returns
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
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: |
|
Topics: |
Example
For an example, refer to L_ContainerSetOwnerDraw.