{"id":109239,"date":"2024-01-04T07:00:00","date_gmt":"2024-01-04T15:00:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/oldnewthing\/?p=109239"},"modified":"2024-01-10T09:24:49","modified_gmt":"2024-01-10T17:24:49","slug":"20240104-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20240104-00\/?p=109239","title":{"rendered":"How can I specify icons for my app to use on the Start menu in high contrast mode?"},"content":{"rendered":"<p>A customer noticed that when the system was in a high contrast mode, some icons on the Start menu turned monochrome, whereas others retained their full colors. They wanted to know how they could get the Start menu to switch to a monochrome icon for their app when the system was in a high contrast mode.<\/p>\n<p>The customer said that their program is a classic Win32 program, so its icon is declared in their <code>.rc<\/code> file. They also noticed that the apps whose Start menu icons went monochrome in high contrast mode were all UWP apps. Maybe that was a factor?<\/p>\n<p>Indeed, that was a factor.<\/p>\n<p>Custom icons for high contrast mode require an application manifest. <a title=\"Tailor your resources for language, scale, high contrast, and other qualifiers\" href=\"https:\/\/learn.microsoft.com\/windows\/uwp\/app-resources\/tailor-resources-lang-scale-contrast#qualifier-name-qualifier-value-and-qualifier\"> Use the &#8220;contrast&#8221; qualifier<\/a> to name your high-contrast alternate form. Application manifests are required for UWP apps, which is why you see it in wide use there. You can add a manifest to your classic Win32 apps, too, by putting it in an MSIX package.<\/p>\n<p><b>Update<\/b>: It&#8217;s also possible to <a title=\"How to customize Start screen tiles for desktop apps (Windows Runtime apps)\" href=\"https:\/\/learn.microsoft.com\/en-us\/previous-versions\/windows\/apps\/dn393983(v=win.10)?redirectedfrom=MSDN\"> attach an icon manifest to your unpackaged Win32 app<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Put them in your manifest.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25],"class_list":["post-109239","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code"],"acf":[],"blog_post_summary":"<p>Put them in your manifest.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/109239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=109239"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/109239\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=109239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=109239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=109239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}