Full screen windows

Does anyone know how to automatically go to a full screen window when starting an opengl program? To see what i mean run a nehe demo from the nehe site

cheers

Speaking of NeHe’s demos, why not look in the source for them and read some tutorials he wrote. You obviously know about them, so why not use them?