Re: MFC and c++ problems





You know, I am still wondering what you guys mean by this, because MFC
class wizard automatically passed a CWnd pointer to the constructor.

look CWnd is not passed to any of the controls constructor.
Which constructor are you talking about?Almost all of the controls are
derived from CWnd.
"Deriving from CWnd and passing explicitly to constructor are conceptually
two different things altogether."

If you mean the one in Create(...), it is just for setting up the
parent-child relationship for
the window. That has nothing to do with the constructors and so on.

--
Vipin Aravind


.



Relevant Pages