|
-
Mar 1st, 2001, 07:59 PM
#1
Thread Starter
Fanatic Member
For example in JavaScript you can write:
var someVar = confirm("Some Text");
Is there an API function or something that I can use in C++? Thanks in advance.
Alcohol & calculus don't mix.
Never drink & derive.
-
Mar 2nd, 2001, 10:51 AM
#2
Frenzied Member
By "box" do you mean a message box?
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Mar 2nd, 2001, 11:36 AM
#3
Code:
MessageBox(NULL, "Hello", "HELLO", MB_YESNO);
-
Mar 2nd, 2001, 07:41 PM
#4
Thread Starter
Fanatic Member
Alcohol & calculus don't mix.
Never drink & derive.
-
Mar 2nd, 2001, 07:48 PM
#5
Thread Starter
Fanatic Member
One more question, how would I tell how what the user press (yes or no)?
Alcohol & calculus don't mix.
Never drink & derive.
-
Mar 4th, 2001, 01:10 PM
#6
Code:
int n = MessageBox(NULL, "Hello", "HELLO", MB_YESNO);
if( n == IDYES ) // Yes was pressed
if( n == IDNO ) // No was pressed
-
Mar 4th, 2001, 07:16 PM
#7
Thread Starter
Fanatic Member
Ok, thanks a lot megatron.
Alcohol & calculus don't mix.
Never drink & derive.
-
Mar 4th, 2001, 07:39 PM
#8
-
Mar 7th, 2001, 09:20 PM
#9
PowerPoster
how would you make a prompt box?
like in javascript:
Code:
var input = prompt("Enter a number");
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|