1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

openframeworksでウィンドウを非表示にする

Posted at

#何がしたいのか
ofをオフスクリーンでレンダリングを行いWindowsのビデオソースに映像を流すのだが
その際にofのウィンドウは邪魔になるので非表示にしたかった。
##できた

ShowWindow( ofGetWin32Window(), SW_HIDE );

試行錯誤の結果WinApiを使うことになった、自分の環境ではこれでOK
setup()内で呼び出すと非表示にならないのでupdate()で呼び出そう。
##他に試したこと

  • ofAppNoWindow

だめだったOpenGLに問題が発生原因は不明だが動かず

最終的にはハンドルさえあれば何でも出来ちゃうのさ

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?