admin管理员组文章数量:1353284
I have a Windows desktop app and some of our dialogs have static text controls that we disable along with the control for which the static text is a label. We also have system settings that change the background color of windows to a dark color and change the text to a light color. Works fine except for those disabled static text controls. They look terrible. I have tried setting the font to not use anti-aliasing and a few other tricks to try to avoid the issue.
Is there anyway to influence how the OS draws this text short of implementing OnCtlColor and drawing the labels "disabled" while not actually disabling the controls?
Gee I hope insert image actually has the image show up when I post. Not there in the preview!
本文标签: How to avoid antialiasing of disabled static control on a Window dialogStack Overflow
版权声明:本文标题:How to avoid anti-aliasing of disabled static control on a Window dialog - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743927473a2563229.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论