Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DTBGOPTS structure

Defines the options for the DrawThemeBackgroundEx function.

Syntax


typedef struct _DTBGOPTS {
  DWORD dwSize;
  DWORD dwFlags;
  RECT  rcClip;
} DTBGOPTS, *PDTBGOPTS;

Members

dwSize

Type: DWORD

Size of the structure. Set this to sizeof(DTBGOPTS).

dwFlags

Type: DWORD

Flags that specify the selected options. This member can be one of the following:

ValueMeaning
DTBG_CLIPRECT

rcClip specifies the rectangle to which drawing is clipped.

DTBG_DRAWSOLID

Deprecated. Draw transparent and alpha images as solid.

DTBG_OMITBORDER

Do not draw the border of the part (currently this value is only supported for bgtype=borderfill).

DTBG_OMITCONTENT

Do not draw the content area of the part (currently this value is only supported for bgtype=borderfill).

DTBG_COMPUTINGREGION

Deprecated.

DTBG_MIRRORDC

Assume the hdc is mirrored and flip images as appropriate (currently this value is only supported for bgtype=imagefile).

DTBG_NOMIRROR

Do not mirror the output; even in right-to-left (RTL) layout.

DTBG_VALIDBITS

DTBG_CLIPRECT | DTBG_DRAWSOLID | DTBG_OMITBORDER | DTBG_OMITCONTENT | DTBG_COMPUTINGREGION | DTBG_MIRRORDC | DTBG_NOMIRROR.

 

rcClip

Type: RECT

A RECT that specifies the bounding rectangle of the clip region.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Uxtheme.h

See also

DrawThemeBackgroundEx

 

 

Community Additions

ADD
Show:
© 2015 Microsoft