Open popup when run
How can i make so that when i run my program it opens the console window but also a extra window which has a text box? What i want to do is that when i type something in the text box and hit enter it comes out in the console windows. Is this possible, if so, how?
thanks in advance!
Use a console window to create a textbox (in a dialog (Win32 or some other GUI toolkit, ie GTKMM)), then ye... kinda easy from there...
What compiler and operating system are you using? Why do you want to have a textbox like this? It sounds like the rest of the application is console-based, so why not have the entire program run in a console?
You can just use the script for a regular window script, but without compiling it as a Win32 project. You can even use std::cout and TextOut() with each other. However, you won't be able to get rid of the consol wnd without returning main().
I'm using dev-c++ and windows xp. The application doesnt have any greater purpose yet, just being curious how this can be done.
Originally Posted by dwks