如何给编辑控件设置蓝色边框?
I added a manifest file to my project to set the windows XP style, it work for all controls except the edit control. I took screen shots :
My current style : screen shot
My dream : screen shot, From Windows Notepad
Thanks in advance !
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有几个原因可能导致您的编辑控件看起来不像您想要的那样。如果您已将窗口样式应用到控件,它可能会覆盖默认样式。此外,Rich Edit 控件有几个不同版本,旧版本可能不兼容;查看窗口类名称。
以下是 Microsoft 窗口样式指南,可以帮助您实现梦想的外观: http://msdn.microsoft.com/en-us/library/hh270423(v=vs.85).aspx
There are a couple of reasons why your edit control might not look the way you want. If you've applied a window style to the control it might override the default style. Also there are a couple of different versions of the Rich Edit control, and the older one might not be compatible; look at the window class name.
Here's a Microsoft guide to Window styles that should help you achieve the dream look: http://msdn.microsoft.com/en-us/library/hh270423(v=vs.85).aspx