Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通过派生 CListBox 制作了一个所有者绘制的列表框,但我不希望它有边框。相反,边框将在父对话框的背景中绘制,因此我的列表框看起来像是具有自定义边框。如何删除边框?在我的派生类中是否有要覆盖的标志或函数?
您需要删除WS_BORDER窗口样式。
WS_BORDER