开发者

How to set a blue border to edit control?

开发者 https://www.devze.com 2023-03-24 19:43 出处:网络
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 scre开发者_JAVA百科en shots :

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 scre开发者_JAVA百科en shots :

My current style : screen shot

My dream : screen shot, From Windows Notepad

Thanks in advance !


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

0

精彩评论

暂无评论...
验证码 换一张
取 消