The theme used to render the MDICLIENT and its child windows.

Usage

Set_Property(OLECtrlEntID, "OLE.MdiTheme[CtrlId]", OptionValue)

Values

OptionValue can be set to one of the following valid options:

Value

Description

Office2013The theme utilized in Office 2013
Office2010BlueThe blue theme utilized in Office 2010
Office2010BlackThe black theme utilized in Office 2010
Office2010SilverThe silver theme utilized in Office 2010
Office2007BlueThe blue theme utilized in Office 2007
Office2007BlackThe black theme utilized in Office 2007
Office2007SilverThe silver theme utilized in Office 2007
Office2007AquaThe theme utilized in the beta releases of Office 2007
Windows7A theme based on the look of Windows 7
SystemA theme based on the current system theme settings.
Windows10A theme based on the white Windows 10 theme.

Indices

IndexDescription
CtrlIdIdentifies a subclassed MDICLIENT control

Remarks

Applies To: MDICLIENT

The MdiTheme property applies a theme to the MDICLIENT control and all its child windows.

Important: This property does nothing if you have a Ribbon control on the form. The Ribbon theme will automatically be applied to the subclassed MDICLIENT.

Example

// Subclass my MDICLIENT control and theme it
CtrlId = @Window:".MDICLIENT" 
Handle = Get_Property(CtrlId, "HANDLE") 
Send_Message(@Window:".OLE_SUBCLASS", "OLE.Subclass", Handle, CtrlId) 
Convert "." to ";" in CtrlId 
Set_Property(@Window:".OLE_SUBCLASS", "OLE.MdiTheme[":CtrlId:"]", "Windows10")