Tuesday, July 14, 2009

How do I make a Messagebox show in Visaul C++ 2005?

I'm a Visual Basic/C# programmer and am now trying to transition over to C++a bit. I can really use help tho, see I want to learn how to make a simple message box show in C++. How can I transfer somthing like msgbox("yo") to C++?





Also maybe even changing to another form (vbcode: form2.show)





Any help appreciated





Thanks

How do I make a Messagebox show in Visaul C++ 2005?
if its CLR u are making;





use this





MessageBox::Show("Hello!");
Reply:MessageBox(


hWnd,// handle of owner window


"Apple Computers Suck!",


"Alert!",


MB_OK


) ;
Reply:MessageBox(NULL,"yo","Message Form Caption",MB_OK);


No comments:

Post a Comment