【问题标题】:How to hide/show title bar using Carbon如何使用 Carbon 隐藏/显示标题栏
【发布时间】:2011-06-16 17:46:36
【问题描述】:

如何在 Mac 中使用 Carbon 隐藏/显示标题栏?

【问题讨论】:

  • 为什么是碳?这些天最好用可可...

标签: macos macos-carbon title


【解决方案1】:

在 MacWindows.h 中查看 HIWindowChangeAttributes 和有关它的标头 cmets。

【讨论】:

    【解决方案2】:

    您可以使用this technique 隐藏/显示标题栏:

    OSStatus SetSystemUIMode( SystemUIMode inMode, SystemUIOptions inOptions);
    

    我相信您需要根据您的要求使用kUIModeAllHiddenkUIModeContentHidden 和其他UIOptions

    【讨论】:

      猜你喜欢
      • 2013-10-21
      • 2015-04-06
      • 2010-11-26
      • 2012-11-11
      • 2021-08-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多