Add MessageBox usage to add a message mapping with Class Wizard, more examples.
ONCHAR (UINT NCHAR, UINT NREPCNT, UINT NFLAGS)
{CClientDC DC (this);
Dc.Textout (10, 10, "message");
...
}
Int t = messagebox ()
MB_OK, MB_OKCANCEL, MB_YESNO ...
MB_ICONSTOP, MB_ICONIONFORMATION, MB_ICONEXCLAMATION ...
IF (t == idok, idyes, idcancel ...)
{...}