I added a message box into current GUIEnvironment, using dev->getGUIEnvironment()->addMessageBox(...);
What I want to do is that if user clicks OK button of message box, then some event( ex. set focus of GUIEnvironment to other element, etc.) occurs.
So I made codes like below :
Code: Select all
...
dev->getGUIEnviroment()->addMessageBox( _T("Notice"), _T("") );
dev->getGUIEnvironment()->setFocus( someOtherElement );
...
How can I get exit event (i.e., the event that occurs when user clicks the OK button of message box so that the message box will disappear) from the message box, so that I can set some other events according to that?
Does anybody has a solution for this?