minifiredragon
Programmer
I was thinking on ways of altering the AfxMessageBox or MessageBox from a button shut down to an auto close. Is it possible?? With my other apps, I remove the OK button and in the InitDialog part, I set a timer. And in the OnTimer() I count down then call the OnOK();.
Beings that AfxMessageBox uses a string to set the Icon and the Buttons, I am not sure how to override it. I was looking around for the Afx definition and was hoping to alter it. The same thing occurs with the MessageBox.
If I can't do it, I will just create my own dialog boxes, set the icons and messages that I want to use. But I thought I'd ask since Palbano and PerFnurt seem to be rather excellent at having answer.

Beings that AfxMessageBox uses a string to set the Icon and the Buttons, I am not sure how to override it. I was looking around for the Afx definition and was hoping to alter it. The same thing occurs with the MessageBox.
If I can't do it, I will just create my own dialog boxes, set the icons and messages that I want to use. But I thought I'd ask since Palbano and PerFnurt seem to be rather excellent at having answer.