When I use MessageBox I get standard text for pushbuttons like OK and CANCEL. That strings are Windows-defined, and can be different language with respect all other messages in my program (when I use dialogs I give my own text for that kind of pushbuttons)... Pushbuttons show different "standard" messages in messageboxes and dialogs. This happens frequently on non-english computers (e.g. english programs on italian version of Windows).
I can imagine 3 ways to change this problem:
1) To get the standard strings windows uses in messageboxes via some API call (I didn't find it - does it exist?) and use that string to create pushbuttons in dialogs. This way I will possibly have language confusion, but pushbutton behavior will be the same in messageboxes and dialogs.
2) To change the standard strings windows will use in messageboxes (other API call?).
3) To write my own MessageBox function (a standard dialog box).
May be the only possible way is #3... but I liked not to write an at least 200 rows function to do the same a simple MsgBox call does.
------------------
I can imagine 3 ways to change this problem:
1) To get the standard strings windows uses in messageboxes via some API call (I didn't find it - does it exist?) and use that string to create pushbuttons in dialogs. This way I will possibly have language confusion, but pushbutton behavior will be the same in messageboxes and dialogs.
2) To change the standard strings windows will use in messageboxes (other API call?).
3) To write my own MessageBox function (a standard dialog box).
May be the only possible way is #3... but I liked not to write an at least 200 rows function to do the same a simple MsgBox call does.
------------------
Comment