i have done some coding back in '99 in visual basic, and i remember there a command to excutse a message box to input data .
is there a similar function in C++ to excute a message box for input in a windows os ?
i have done some coding back in '99 in visual basic, and i remember there a command to excutse a message box to input data .
is there a similar function in C++ to excute a message box for input in a windows os ?
is there a similar function in C++ to excute a message box for input in a windows os ?
As strange as it might sound, it does exist: MessageBox().
As strange as it might sound, it does exist: MessageBox()
As far as I know there's no way to input data in a MessageBox().
@OP: Are you creating a MFC-app or a win32? You could just open a new form with an "edit control" on it?
Look for the implementation of "InputBox"
is there a similar function in C++ to excute a message box for input in a windows os ?
As strange as it might sound, it does exist: MessageBox()
can you show an example snippet
MessageBox(NULL, "This is a test", "Daniweb rox", 0);
But it still doesn't take any input, or did I misunderstand your question?
I'm sorry, I missed the 'input' part of the question. Follow Nick's original advice.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.