Re: wordpad: do not pass resource ids to MessageBox
"Andrey Turkin" <andrey.turkin(a)gmail.com> wrote:
It seems that automatic loading of string from resources in MessageBox* is Wine extension. Useful and logical one but still other platform does not support it.
That's not a Wine extension, looks like the author of that code just didn't test it. One need to use MessageBoxEx to make it work. -- Dmitry.
Dmitry Timoshkov wrote:
"Andrey Turkin" <andrey.turkin(a)gmail.com> wrote:
It seems that automatic loading of string from resources in MessageBox* is Wine extension. Useful and logical one but still other platform does not support it.
That's not a Wine extension, looks like the author of that code just didn't test it. One need to use MessageBoxEx to make it work.
Sorry, I don't really understand what do you mean. For me, both MessageBox and MessageBoxEx work identically on Windows - the message box has no caption and no text.
"Andrey Turkin" <andrey.turkin(a)gmail.com> wrote:
It seems that automatic loading of string from resources in MessageBox* is Wine extension. Useful and logical one but still other platform does not support it.
That's not a Wine extension, looks like the author of that code just didn't test it. One need to use MessageBoxEx to make it work.
Sorry, I don't really understand what do you mean. For me, both MessageBox and MessageBoxEx work identically on Windows - the message box has no caption and no text.
Sorry, I should have said MessageBoxIndirect. -- Dmitry.
participants (2)
-
Andrey Turkin -
Dmitry Timoshkov