I was developing a Windows multi-document GUI application in VC++ version 6. I found that my CAppView class needed to be derived from CScrollView and not CView. VC++ is all wizard driven with so much inbuilt stuff. So it is not straight forward to do these type changes. When I changed the derivation by a simple substitution of all CView to CScrollView, the application compiles ok. But crashes when I try to run it. So I thought I will pose this on a VC++ forum. I searched for it on Yahoo groups. It came up with > 2000. Most of them not moderated ! Anyway finally due a tip from another forum I got to know about this group.
Now for the solution... I created a new class which was derived from CScrollView. Then I copy/paste all the ID-stuff that the wizard had generated in the .h unit of the class that needed to be modified. Now it works like a breeze. Now, how to get rid of this new class i created? I have to work this one out. I dont think it can be done with a single click :( Regards TFE http://totallyfreeenergy.zxq.net
