How to change "Full Screen" to "Windowed" if some key is pressed.

From: Just Me (
Date: 10/16/04

Date: Sat, 16 Oct 2004 09:51:38 -0400

I create my device in InitializeGraphics and can make it either "Windowed"
or "Full Screen"

What I don't know how to do is change it later - say on some keyboard key

That is, if it is "Full Screen" change to "Windowed" if some key is pressed.

Is that possible?

Is there a common key used for this purpose?