I create a a message box with this function IGUIWindow* irr::gui::IGUIEnvironment::addMessageBox.
So how to test if i click the cancel or ok button ?
thanks.
addMessageBox test
You'll get an Event into your event reciever. Should be one of these:
EGET_MESSAGEBOX_YES, EGET_MESSAGEBOX_NO, EGET_MESSAGEBOX_OK,
EGET_MESSAGEBOX_CANCEL (http://irrlicht.sourceforge.net/docu/na ... i.html#a55 )
EGET_MESSAGEBOX_YES, EGET_MESSAGEBOX_NO, EGET_MESSAGEBOX_OK,
EGET_MESSAGEBOX_CANCEL (http://irrlicht.sourceforge.net/docu/na ... i.html#a55 )