is it possible to create your own button captions for messageboxs instead of MB_OK "Ok" create MB_DOH "Doh" just as an example
Printable View
is it possible to create your own button captions for messageboxs instead of MB_OK "Ok" create MB_DOH "Doh" just as an example
Yes...But it involves subclassing and hooks. Because MessageBoxes are created dynamically, you need to install a hook to catch the WM_CREATE message (to get the handle of the messagebox) then subclass it. Sending the WM_SETTEXT message will allow you to change the text.
I'll see if I can write up some code for you.