문제

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 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top