开发者

Removing the border from an owner-drawn listbox

开发者 https://www.devze.com 2023-02-20 10:04 出处:网络
I\'ve made an owner-drawn listbox by deriving CListBox, but I don\'t want it to have a border. Instead the border will be painted in the background of the parent dialog, so my开发者_如何学Go listbox w

I've made an owner-drawn listbox by deriving CListBox, but I don't want it to have a border. Instead the border will be painted in the background of the parent dialog, so my开发者_如何学Go listbox will look like it has a custom border. How can I remove the border? Is there a flag or a function to override in my derived class?


You need to remove the WS_BORDER window style.

0

精彩评论

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

关注公众号