Re: wordpad: do not pass resource ids to MessageBox

2008-10-12 Thread Dmitry Timoshkov
"Andrey Turkin" <[EMAIL PROTECTED]> 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.




Re: wordpad: do not pass resource ids to MessageBox

2008-10-12 Thread Andrey Turkin
Dmitry Timoshkov wrote:
> "Andrey Turkin" <[EMAIL PROTECTED]> 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.




Re: wordpad: do not pass resource ids to MessageBox

2008-10-12 Thread Dmitry Timoshkov
"Andrey Turkin" <[EMAIL PROTECTED]> 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.