SetWindowFullscreen ( win, flag )

true ならばフルスクリーンを有効化しますが、 false ならば無効化します。

用例: