This function sets the properties of the container.
L_LTIVW_API L_INT L_DispContainerSetProperties (hCon, pDispContainerProp, uFlags)
Handle to the container.
Pointer to a DISPCONTAINERPROPERTIES structure that contains the options for controlling the behavior of the container.
Reserved for future use. Pass 0.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
This function automatically updates the container window, so the user does not have to redraw the window.
Before calling L_DispContainerSetProperties apply the following:
declare a variable of type DISPCONTAINERPROPERTIES.
set DISPCONTAINERPROPERTIES.uStructSize to sizeof(DISPCONTAINERPROPERTIES)
set DISPCONTAINERPROPERTIES.uMask to indicate the properties to be set (that is, which members of the structure contain valid information)
specify the new property values in the appropriate members.
pass a pointer to the DISPCONTAINERPROPERTIES structure to L_DispContainerSetProperties as the pDispContainerProp parameter.
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.
For an example, refer to L_DispContainerCreate.