Robert Shearman wrote:
It looks much simpler now, but I don't understand why reversing the direction of the stack should make any difference.
Because when the DefSubclassProc is called first time the stackpos should be 0 and so if 0 is treated as topmost subclassed procedure in the hiearchy there's no longer needed SubclassWndProc. (Does it make sense? ;-) Unfortunetly my patch doesn't handle the stackpos position properly, so it wouldn't not work just yet.
I don't think you submitted the required patch to comctl32.h.
Argh, sorry. Nevertheless there is couple of bugs in my patch, so I'll send it again after fixing them.
- Filip