Reputation:
I'm using the WinAPI MessageBox to show information to the users.
It uses the local translations for the buttons. Is there any way to get the local translations for "Information", "Error", "Confirmation" and "Question"?
Maybe any DLL, where I can get the resource string from... ?
Inside the user32.dll, I found "Yes", "No", "Ok", "Cancel" and more - but nothing for "Information", "Error", "Confirmation" and "Question".
Upvotes: 1
Views: 74
Reputation: 101606
User32 does contain the string for "Error" (resource id 2 on my machine), it is used when the title parameter is NULL.
Even if it did contain the other strings it would not be a good idea to use them because the resource identifiers are not documented and could change in the future.
Because you need to provide the translation for the main text you might as well just provide your own translations for the title as well...
Upvotes: 1