How to use the function in CView?
-
In single document application, I have define one class and in my own class I want use the function of CMyView class, How to achieve it? I have add the MyView.h to my own class, but the compiler will show error.
-
In single document application, I have define one class and in my own class I want use the function of CMyView class, How to achieve it? I have add the MyView.h to my own class, but the compiler will show error.
What code? What error? :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
In single document application, I have define one class and in my own class I want use the function of CMyView class, How to achieve it? I have add the MyView.h to my own class, but the compiler will show error.
CView is a class provided by the MFC Library. The MFC Library is provided to facilitate Windows Operating System Development for the C++ language. One should not be attempting to use such advanced libraries without having first achieved a minimal competence of using the C++ language and common tools such as compilers.
-
In single document application, I have define one class and in my own class I want use the function of CMyView class, How to achieve it? I have add the MyView.h to my own class, but the compiler will show error.
Thank you, But it should can be do. Maybe I have to find another way