Andreas Mohr <[EMAIL PROTECTED]> wrote:
>> This patch will break the recently fixed accelerators in dialogs,
>> because of code in dialog.c relies on the fact that dlgCode returned
>> by button always contains DLGC_BUTTON bit.
>Oh.
>
>> If your patch is correct, dialog.c should be fixed too.
>Hmm, it is supposed to be correct :)
>At least these values are listed on MSDN docu.

Don't believe MSDN in an every statement. But it looks
logically to have DLGC_BUTTON bit set for a button.

Using ANY message spy will easy show that ANY button indeed has
DLGC_BUTTON bit set in response to WM_GETDLGCODE.

Dmitry.

Reply via email to