you'll have to include to get the win32api calls to work..
int MessageBox(
HWND hWnd, // handle of owner window
LPCTSTR lpText, // address of text in message box
LPCTSTR lpCaption, // address of title of message box
UINT uType // style of message box
use silentrage's example as a guide MB_OK is just a type of messagebox MB_ICONWARNING is another just get win32.hlp also known as windows 32 api refrenece
The wise make mistakes, the fools repeat them
When you have eliminated the impossible, that which remains, however improbable, must be the truth