PPCdev
02-08-2003, 12:08 AM
Friends, Im a *super newbie* to both eVC and C++, so pls bare with me.
Working on my first newbie eVC++ project, a simple MFC app with a text box and a command button.
I want a message box to pop up when the command button is tapped, heres my snippit..
void CTest05Dlg::OnButton1()
{
MessageBox("Help, Something went wrong.", "Error", MB_ICONERROR | MB_OK);
}
However, it wont compile.. I cant get it to build.
Im *super new* to eVC++, learning C++ and the IDE at the same time so my learning curve will be slow.
Thanks for any help-
Andrew
Working on my first newbie eVC++ project, a simple MFC app with a text box and a command button.
I want a message box to pop up when the command button is tapped, heres my snippit..
void CTest05Dlg::OnButton1()
{
MessageBox("Help, Something went wrong.", "Error", MB_ICONERROR | MB_OK);
}
However, it wont compile.. I cant get it to build.
Im *super new* to eVC++, learning C++ and the IDE at the same time so my learning curve will be slow.
Thanks for any help-
Andrew