DefDlgProc* broken for (at least) WM_GETTEXT

Alexandre Julliard julliard at
Fri Oct 14 03:20:03 CDT 2005

Troy Rollo <wine at> writes:

> When I got to implementing this it turned out that "my" way ended up including 
> this as part of it, so I will only submit one since there isn't really a 
> "different" way would do anything other than result in lots of duplicated 
> code.

I'm afraid I'll have to disagree. Sure it's a bit more code, but IMO
it's cleaner than passing booleans around everywhere. Especially since
you can then use correct types (DLGPROC instead of WNDPROC) and have
the compiler make sure you are not mixing things you shouldn't.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list