<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: AX: Support increased contrast mode"
href="https://bugs.webkit.org/show_bug.cgi?id=147786#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: AX: Support increased contrast mode"
href="https://bugs.webkit.org/show_bug.cgi?id=147786">bug 147786</a>
from <span class="vcard"><a class="email" href="mailto:mattbaker@apple.com" title="Matt Baker <mattbaker@apple.com>"> <span class="fn">Matt Baker</span></a>
</span></b>
<pre>For OS X, AppKit's NSWorkspace class exposes the accessibilityDisplayShouldIncreaseContrast property and
NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification notification.
For the Windows port, winuser.h defines the SystemParametersInfo function:
HIGHCONTRAST highContrast;
highContrast.cbSize = sizeof(HIGHCONTRAST);
SystemParametersInfo(SPI_GETHIGHCONTRAST, sizeof(HIGHCONTRAST), & highContrast, 0);
As for detecting changes, I think we'd want to handle the WM_SETTINGCHANGE message, which is sent to all top-level windows when a system parameter changes. But I'm not positive about this.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>