Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access level of Constructor View class in a SDI

Status
Not open for further replies.

TheMillionDollarMan

Programmer
Jun 10, 2002
132
US
Hi,

Want to call the view class of my application and send it some data from another class. However I am having problems with the access level of the constructor. It is protected and when I declare a member variable
CLassGLView m_glview;
it tries to call the constructor which is

protected: // create from serialization only
CLassGLView();
DECLARE_DYNCREATE(CLassGLView)

And the error message:
see declaration of 'CLassGLView::CLassGLView'

How can I make this Public?

CLassGLView is derived from the CFormView class.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top