L_DispContainerSetTitlebarProperties

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerSetTitlebarProperties(hCon, pDispContainerTitlebarProps, uFlags)

HDISPCONTAINER hCon;

/* handle to the container */

pDISPCONTAINERTITLEBARPROPS pDispContainerTitlebarProps;

/* pointer to structure */

L_UINT uFlags;

/* reserved for future use */

Changes the title bar properties.

Parameter

Description

hCon

Handle to the container.

pDispContainerTitlebarProps

Pointer to a DISPCONTAINERTITLEBARPROPS structure that contains the title bar properties to change.

uFlags

Reserved for future use. Pass 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Before calling L_DispContainerSetTitlebarProperties the user should:

1.

Declare a variable of type DISPCONTAINERTITLEBARPROPS.

2.

Set the DISPCONTAINERTITLEBARPROPS.uStructSize member to the value of sizeof(DISPCONTAINERTITLEBARPROPS).

3.

Set the DISPCONTAINERTITLEBARPROPS.uMask member value to indicate what the members will be changed with the new values.

4.

Pass a pointer to the DISPCONTAINERTITLEBARPROPS structure to L_DispContainerSetTitlebarProperties as the pDispContainerTitlebarProps parameter.

To retrieve the title bar properties, call the L_DispContainerGetTitlebarProperties function.

For more information on the available title bar properties, refer to the DISPCONTAINERTITLEBARPROPS 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:

L_DispContainerCreate, L_DispContainerDestroy, L_DispContainerIsTitlebarIconChecked, L_DispContainerGetIconProperties L_DispContainerGetTitlebarProperties, L_DispContainerIsTitlebarEnabled, L_DispContainerSetIconProperties, L_DispContainerShowTitlebar, L_DispContainerCheckTitlebarIcon

Topics:

Image Viewer Cells

Image Viewer Functions: Image Viewer Cells

Example

For an example, refer to L_DispContainerShowTitlebar.