You cannot do this. You will have to do this using the functions instead. Internally, the DDX_xxx wrappers do exactly this. So for controls created dynamically you will have to do this yourself.
«_Superman_» _I love work. It gives me something to do between weekends.
_Microsoft MVP (Visual C++)
Polymorphism in C