SysColorCtrl.SysColorChange event
The SysColorChange event fires when a system color changes. This event can be used to respond to changes to system colors.
Syntax
SysColorCtrl.SysColorChange()
Parameters
This event has no parameters.
Return value
This event does not return a value.
Examples
The following example shows how to use the event in code.
<object
ID="SysColorX"
classid="clsid:C47195EC-CD7A-11D1-8EA3-00C04F9900D7"
width=0
height=0>
</object>
<SCRIPT FOR=SysColorX EVENT="SysColorChange()" LANGUAGE="JavaScript">
// Add code to respond to system color change.
</SCRIPT>
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|