Hi
I want to create a message box that closes automatically after a preset time.
I have used MESSAGEBOX_Create to create a message box and return a handle which I use to assign it a callback.
I then created a timer to send the message box a timer msg.
In the callback, on a WM_TIMER msg I call GUI_EndDialog(pMsg->hWin, 0);
While this closes the message box, the GUI hangs after this.
I have tried making the message box non modal, closing it by sending it a button msg, but the GUI still hangs after this.
Suggestions welcome?
Thanks
Lawrence
I want to create a message box that closes automatically after a preset time.
I have used MESSAGEBOX_Create to create a message box and return a handle which I use to assign it a callback.
I then created a timer to send the message box a timer msg.
In the callback, on a WM_TIMER msg I call GUI_EndDialog(pMsg->hWin, 0);
While this closes the message box, the GUI hangs after this.
I have tried making the message box non modal, closing it by sending it a button msg, but the GUI still hangs after this.
Suggestions welcome?
Thanks
Lawrence