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 |
---|---|
Office2013 | The theme utilized in Office 2013 |
Office2010Blue | The blue theme utilized in Office 2010 |
Office2010Black | The black theme utilized in Office 2010 |
Office2010Silver | The silver theme utilized in Office 2010 |
Office2007Blue | The blue theme utilized in Office 2007 |
Office2007Black | The black theme utilized in Office 2007 |
Office2007Silver | The silver theme utilized in Office 2007 |
Office2007Aqua | The theme utilized in the beta releases of Office 2007 |
Windows7 | A theme based on the look of Windows 7 |
System | A theme based on the current system theme settings. |
Windows10 | A theme based on the white Windows 10 theme. |
Indices
Index | Description |
---|---|
CtrlId | Identifies 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")