|
-
July 16th, 2007, 02:34 AM
#1
MessageBox method
I using Visual C++ express edition 2005, when i click a button, it will shown a messagebox. I can write a simple code to show it, but it don hav error message, warning message, or information message.
This is my simple code:
Code:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
System::Windows::Forms::MessageBox::Show("Example", "YA");
}
Any body can help me to change the code to show the error message or warning message???
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
|