IsWindowsThemeIgnored(Detect if OS Theme is Ignored)

Top  Previous  Next

 

IsWindowsThemeIgnored ( )

 

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