如何给编辑控件设置蓝色边框?

发布于 2024-11-27 14:36:34 字数 254 浏览 0 评论 0原文

我在项目中添加了一个清单文件来设置 Windows XP 样式,它适用于除编辑控件之外的所有控件。我拍了屏幕截图:

我当前的风格:屏幕截图

我的梦想:屏幕截图,来自 Windows 记事本

提前致谢!

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

宣告ˉ结束 2024-12-04 14:36:34

有几个原因可能导致您的编辑控件看起来不像您想要的那样。如果您已将窗口样式应用到控件,它可能会覆盖默认样式。此外,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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文