User Tools

Site Tools


iswindowsthemeignored.htm
Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > MenuStyleManager Class > MenuStyleManager Methods >====== IsWindowsThemeIgnored(Detect if OS Theme is Ignored) ====== Previous pageReturn to chapter overviewNext page

IsWindowsThemeIgnored ( )

blk2blue.jpg

The IsWindowsThemeIgnored method returns if the MenuStyle interface is currently ignoring (e.g., not using) the operating system's theme colors. If TRUE, the operating system's theme colors are not being used.

Return Value:     BOOLEAN

Implementation:

IsWindowsThemeIgnored is used in the UseCustomTheme method to allow the MenuStyle interface method to ignore all operating system theme colors.

Example:

IF MenuStyleMgr.IsWindowsThemeIgnored()

 MenuStyleMgr.UseCustomTheme()

END

See also: UseCustomTheme

iswindowsthemeignored.htm.txt · Last modified: 2021/04/15 15:57 (external edit)