SetWindowFullscreen ( win, flag )

Fullscreen if true and window if false

Example: