ToggleWndMax (hwnd)

Toggles the window hwnd between maximized and restored sizes.