Hi:
Using messagebox class, I'm getting error saying "MessageBox A is not a class
or namespace". I'm simply calling MessageBox class in a button event this
so:
private: System::Void button1_Click(S ystem::Object * sender,
System::EventAr gs * e)
{
getExistingRace * per = new getExistingRace (); // modal form for selecting
an existing race record
if (per->ShowDialog() == DialogResult::O K)
{
MessageBox::Sho w(S"click OK button");
}
}
If intellisense is correctly displaying MessageBox props, then I must be
using correct namespace. What the heck is a MessageBoxA class?
Thanks,
Charlie
Using messagebox class, I'm getting error saying "MessageBox A is not a class
or namespace". I'm simply calling MessageBox class in a button event this
so:
private: System::Void button1_Click(S ystem::Object * sender,
System::EventAr gs * e)
{
getExistingRace * per = new getExistingRace (); // modal form for selecting
an existing race record
if (per->ShowDialog() == DialogResult::O K)
{
MessageBox::Sho w(S"click OK button");
}
}
If intellisense is correctly displaying MessageBox props, then I must be
using correct namespace. What the heck is a MessageBoxA class?
Thanks,
Charlie
Comment