GetUIColourMode

www.progui.co.uk  Top  Previous  Next

GetUIColourMode()

Syntax

UIColourMode = GetUIColourMode()

Description

 

Returns the current colour scheme rendering mode for styled components such as MenuEx, ToolbarEx and Rebars.

The returned value can be any of the following constants: -

 

#UICOLOURMODE_DEFAULT

Automatically selects "best match" colour scheme based on user's Windows theme colour.

#UICOLOURMODE_DEFAULT_BLUE

Renders the User Interface using the default blue colour scheme.

#UICOLOURMODE_DEFAULT_OLIVE

Renders the User Interface using the default olive colour scheme.

#UICOLOURMODE_DEFAULT_SILVER

Renders the User Interface using the default silver colour scheme.

#UICOLOURMODE_DEFAULT_GREY

Renders the User Interface using the default classic grey colour scheme.

#UICOLOURMODE_CUSTOM

Automatically selects "best match" custom colour scheme based on user's Windows theme colour.

#UICOLOURMODE_CUSTOM_BLUE

Renders the User Interface using the custom blue colour scheme.

#UICOLOURMODE_CUSTOM_OLIVE

Renders the User Interface using the custom olive colour scheme.

#UICOLOURMODE_CUSTOM_SILVER

Renders the User Interface using the custom silver colour scheme.

#UICOLOURMODE_CUSTOM_GREY

Renders the User Interface using the custom classic grey colour scheme.

 

 

Colours & Images Index