Is it possible changing the button text; without using the whole win32 api code?
I mean, working to a program that is this simple:
Thanks!Code:#include <iostream.h> int main() { MessageBox(0, "press yes to continue", "title", MB_OK); }
Is it possible changing the button text; without using the whole win32 api code?
I mean, working to a program that is this simple:
Thanks!Code:#include <iostream.h> int main() { MessageBox(0, "press yes to continue", "title", MB_OK); }
You can't change the button text of a MessageBox to something custom. Now you can change MB_OK to something different to get the buttons to say different things. Like MB_YESNO will give you "Yes" and "No" buttons. The complete list can be found Here.
If you want anything more complex than that, you have to make your own dialog.