开发者

How to set a blue border to edit control?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜