Wednesday, September 15, 2010

DoMessageBox

Tip - Override this member function to customize your application-wide processing of AfxMessageBox calls.

Details - If you want, that every call of AfxMessageBox() in your application is replaced by the new message box, then override DoMessageBox() method in your application's main CWinApp class. And customize your message boxes or texts.  All codes of AfxMessageBox will call this method and use the new message boxes.

Reference -

http://msdn.microsoft.com/en-us/library/zf7k5hh8%28VS.80%29.aspx

Posted by - Aneesh Valeri

No comments:

Post a Comment