DTBGOPTS structure (uxtheme.h)
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:
Value |
Meaning |
- 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
Requirement |
Value |
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
uxtheme.h |
See also
DrawThemeBackgroundEx