LImageViewer::SetProperties

#include "ltwrappr.h"

L_INT LImageViewer::SetProperties (pDispContainerProp, uFlags);

pDISPCONTAINERPROPERTIES pDispContainerProp;

/* pointer to a container options structure */

L_UINT uFlags;

/* reserved for future use */

Sets the properties of the container.

Parameter

Description

pDispContainerProp

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

uFlags

Reserved for future use. Pass 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. To get extended error information, call GetLastError, and refer to Return Codes.

Comments

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

Before calling LImageViewer::SetProperties:

To get the current properties set for a container, call LImageViewer::GetProperties.

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 structure.

Required DLLs and Libraries

LTIVW

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:

LImageViewer::Create, LImageViewer::Destroy, LImageViewer::GetProperties, LImageViewer::GetWindowHandle, Class Members

Topics:

Using the Image Viewer

 

Window Control/Image Viewer Functions: Using the Image Viewer

Example

For an example, refer to LImageViewer::Create.