skidracer #1 There are some methods outlined in the windows section of the OpenGL FAQ you may want to look into.