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.
如何删除 Ctoolbar 中的左侧“拖动条”???下图中的红色矩形区域??
创建工具栏时不要包含CBRS_GRIPPER在样式列表中。看这里
CBRS_GRIPPER
更新:您必须CBRS_GRIPPER使用下面的代码显式删除样式,因为它是由框架自动添加的:
m_wndToolBar.SetPaneStyle(m_wndToolBar.GetPaneStyle() & ~CBRS_GRIPPER);