Condividi tramite


CMFCVisualManagerOffice2003::SetDefaultWinXPColors

Specifies whether the visual manager should use native Windows XP theme colors or colors obtained from GetSysColor.

static void SetDefaultWinXPColors(
   BOOL bDefaultWinXPColors = TRUE 
);

Parameters

  • [in] bDefaultWinXPColors
    Specifies whether the visual manager will use native Windows XP colors.

Remarks

If bDefaultWinXPColors is TRUE, the visual manager will use native Windows XP colors such as blue, olive, or silver. Otherwise, the visual manager will use the colors obtained from GetSysColor. The visual manager uses visual elements such as COLOR_3DFACE, COLOR_3DSHADOW, COLOR_3DHIGHLIGHT, COLOR_3DDKSHADOW, and COLOR_3DLIGHT.

By default, a CMFCVisualManagerOffice2003 object uses native Windows XP theme colors.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart