Switching Between opengl screen and Console

Hi,

I’m using a console application to take user input, and I was wondering whether there was a simple way to switch automatically between an opengl screen, and a console window as this would make my simulation look a lot better.

Thanks for your help
Andy.