Skip to content

Enhancement: support for high-contrast-mode #2

Description

@MartinL0815

Since I'm working using the high-contrast-mode (accessibility helper) with the high-contrast-#1 theme/design, I would like the executable (from CodeProject) to respect the system coloring supporting people with eye disabilities.

Currently the UI looks this way:

Main Window
Results Window

My explorer (Windows 7, with enabled high-contrast-mode) looks like this:

Explorer in high-contrast-mode

The high-contrast-mode can be detected by asking the SystemInformation.
Or it can be detected by analyzing system colors like this:

	bool bIsBlackHighContrast = 
		::GetSysColor (COLOR_3DLIGHT) == RGB (255, 255, 255) &&
		::GetSysColor (COLOR_3DFACE) == RGB (0, 0, 0);

	bool bIsWhiteHighContrast = 
		::GetSysColor (COLOR_3DDKSHADOW) == RGB (0, 0, 0) &&
		::GetSysColor (COLOR_3DFACE) == RGB (255, 255, 255);

I would really appreciate to see this application supporting accessibility features, too!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions