删除 MFC c++ 中的功能区栏

发布于 2024-07-24 01:08:31 字数 244 浏览 5 评论 0原文

我正在尝试删除功能区栏,但保留快速访问工具栏和图标球,谁能告诉我这是否可能? 如果是的话我该怎么做?

我尝试通过调用RemoveAllCategories函数来隐藏它,然后最小化功能区,问题是保存类别选项卡的栏保持可见,右键单击它它总是显示选项“最小化功能区”,这几乎可以(如果我设法从上下文菜单中删除此选项),但我要问的是,是否有任何正确的方法可以删除功能区栏及其所有依赖项,再次出现错误,让球体和快速访问工具栏保持不变。

谢谢

I'm trying to remove the ribbon bar, but let stay the quick access tool bar and the icon orb, can anyone tell me if this is possible? and if yes how i can do this?

I try to hide it by calling the RemoveAllCategories function and then minimizing the ribbon, the problem is that the bar that holds the categories tabs stays visible and right clicking on it it always display the option "Minimize the ribbon", this is almost ok (if i managed to remove this option from the context menu) but what i'm asking if there is any proper way of removing the ribbon bar and all its dependencies, bug again let stay the orb and the quick access tool bar.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神魇的王 2024-07-31 01:08:31
m_wndRibbonBar.ToggleMimimizeState();
m_wndRibbonBar.ToggleMimimizeState();
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文