Hi Frank,
> How do I solve the problem? shall I just change the "protected" to "public"
?
E.g. be creating a public method returning the class instance.
public CView* CreateCView()
{
return new CMyView1(); // being inside of class it accesses any his
members
}
> what's the meaning > for the comment line ? (protected constructor used
by dynamic
> creation)
It's like the example above - doesn't allow you to create the object manualy,
only by using "factories" or such.
Regards, Alex
[TechBlog] http://devkids.blogspot.com
> Hello!
> I defined a class(CMyView1) based on CView from class wizard in
[quoted text clipped - 25 lines]
> Thanks a lot!
> Frank