Creating a GLUT window using a console application

I am trying to create a new glut window from a console application. What i want is for the user to type some information into the console window and then the glut window to pop up. The problem i am having is that after typing in the console applicaion, when i create the glut window, it appears behind the cosole window. I want the new window to appear infront of the console window. Is there a way i can do this?


AFAIK, not without doing something nasty using hacky calls to the Win32 API.