L_DispContainerSetProperties

Summary

This function sets the properties of the container.

Syntax

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerSetProperties (hCon, pDispContainerProp, uFlags)

Parameters

HDISPCONTAINER hCon

Handle to the container.

pDISPCONTAINERPROPERTIES pDispContainerProp

Pointer to a DISPCONTAINERPROPERTIES structure that contains the options for controlling the behavior of the container.

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

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

Comments

This function automatically updates the container window, so the user does not have to redraw the window.

Before calling L_DispContainerSetProperties apply the following:

To get the current properties set for a container, call L_DispContainerGetProperties.

For more information on the actual properties that can be set, refer to the DISPCONTAINERPROPERTIES structure.

If this function is not called before using the container, the following default container properties are used. For information on these default values, refer to DISPCONTAINERPROPERTIES.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_DispContainerCreate.

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

LEADTOOLS Medical Image Viewer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.