Compartilhar via


CMFCVisualManagerOffice2003::SetUseGlobalTheme

Specifies whether the visual manager uses a global theme.

static void SetUseGlobalTheme(
   BOOL bUseGlobalTheme = TRUE
);

Parameters

  • [in] bUseGlobalTheme
    TRUE if you want the visual manager to use a global theme; FALSE otherwise.

Remarks

If a CMFCVisualManagerOffice2003 object uses a global theme, it draws the GUI elements by using the CMFCVisualManagerWindows Class.

If a CMFCVisualManagerOffice2003 object does not use a global theme, it draws the GUI elements by using the CMFCVisualManagerOfficeXP Class.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart

CMFCVisualManagerOfficeXP Class

CMFCVisualManagerWindows Class