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.
我正在使用 CTabItem 制作可选择的界面。在一些其他事件之前,我需要一个选项卡对用户不可用,但我无法找到一种方法(因为我在文档中没有看到这样的方法。关于如何做到这一点的任何提示?
没有办法禁用现有的CTabItem.
CTabItem
您可以在创建并显示选项卡文件夹后将其他选项卡添加到选项卡文件夹,以便您可以延迟添加选项卡,直到事件发生。