Partager via


CMFCVisualManagerWindows::IsWinXPThemeAvailable

Determines whether a Windows XP or Windows Vista theme is available.

static BOOL IsWinXPThemeAvailible();

Return Value

Nonzero if a theme is available; otherwise 0.

Remarks

This method is valid for both Windows XP and Windows Vista themes.

IsWinXPThemeAvailable is identical to CMFCVisualManagerWindows::IsWindowsThemingAvailable except that IsWinXPThemeAvailable is a static method. Therefore, it will create a temporary visual manager if one does not exist.

IsWinXPThemeAvailable always return 0s for versions of Windows earlier than Windows XP.

Requirements

Header: afxvisualmanagerwindows.h

See Also

Reference

CMFCVisualManagerWindows Class

Hierarchy Chart