Troy Rollo wine@troy.rollo.name 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.