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.
最初のディスプレイを空白にすることなく、2番目のディスプレイにフルスクリーンウィンドウを表示する方法はありますか?Quicktimeは、ウィンドウをドラッグしてからcommand-Fを押すとこれを実行します
使用できます-[NSView enterFullScreenMode:withOptions:]。
-[NSView enterFullScreenMode:withOptions:]
または、コンテンツ rect が目的の のフレームと一致するボーダレス ウィンドウを作成または構成し、NSScreenそのウィンドウ レベルを に設定することもできますNSMainMenuWindowLevel + 1。
NSScreen
NSMainMenuWindowLevel + 1
これらはどちらも Lion の全画面表示機能よりも前のものであるため、動作が異なります。