Re:Should you use Yes/No or Ok/Cancel on your message boxes?
by Osiris on Monday January 07, 2013 @01:44AM
(#5019771)
One problem is that the standard Windows API for creating a MessageBox only has standard options for the button labels. If you to use custom text you have to create your own form.
[ Parent
| on HN ]
Re:Should you use Yes/No or Ok/Cancel on your message boxes?
by simonh on Monday January 07, 2013 @06:22AM
(#5020492)
This is due to localisation. Standard dialogues with limited and clearly defined text options can be automatically localised by the system, but if you put arbitrary text on your buttons and you want localisation, you have to provide translations yourself.
Re:Should you use Yes/No or Ok/Cancel on your message boxes?
by evanw on Monday January 07, 2013 @11:26AM
(#5021731)
I had this same problem once upon a time, so I created a WPF clone of the standard Windows/.NET MessageBox which allows for custom strings for button text (OK, OK/Cancel, Yes/No, YesNoCancel).
It's on Github: https://github.com/evanwon/WPFCustomMessageBox
There's more to be done, but it's been handy for me so far!