DISPCONTAINERTITLEBARPROPS

typedef struct tagDISPCONTAINERTITLEBARPROPS
{
   L_UINT uStructSize;
   L_UINT uMask;
   COLORREF crColor;
   L_BOOL bCustomTitlebarColor;
} DISPCONTAINERTITLEBARPROPS, * pDISPCONTAINERTITLEBARPROPS;

The DISPCONTAINERTITLEBARPROPS structure contains options for controlling the appearance or behavior of the image viewer title bar feature.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() function to calculate this value.

uMask

Value that determines which members contain valid data for setting, or which members should be updated when retrieving. You can combine values together when appropriate by using a bitwise OR ( | ). Possible values are:

 

Value

Meaning

 

DCTITLEBAR_ALL

[0x00000001] All members contain valid data; or should be updated.

 

DCTITLEBAR_COLOR

[0x00000001] bCustomTitlebarColor and crColor contain valid data; or should be updated.

crColor

COLORREF value that specified the title bar custom color. The default color is the windows theme color.

 

The value of this member is ignored if the bCustomTitlebarColor is set to FALSE.

bCustomTitlebarColor

Flag that indicates whether to use the custom color provided in crColor or to use the windows theme color. Possible values are:

 

Value

Meaning

 

TRUE

Use the custom color provided in crColor.

 

FALSE

Use the window theme colors.

Comments

This structure is used by the following functions:

L_DispContainerSetTitlebarProperties

L_DispContainerGetTitlebarProperties