Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do I draw and display a custom mouse cursor? Pin
Nelek16-Nov-07 1:39
protectorNelek16-Nov-07 1:39 
GeneralRe: How do I draw and display a custom mouse cursor? Pin
pod_99916-Nov-07 2:28
pod_99916-Nov-07 2:28 
GeneralRe: How do I draw and display a custom mouse cursor? Pin
Nelek16-Nov-07 4:07
protectorNelek16-Nov-07 4:07 
QuestionRe: How do I draw and display a custom mouse cursor? Pin
David Crow16-Nov-07 3:59
David Crow16-Nov-07 3:59 
QuestionAuto-Code of MFC Classes Pin
baerten16-Nov-07 0:04
baerten16-Nov-07 0:04 
AnswerRe: Auto-Code of MFC Classes Pin
Nelek16-Nov-07 1:35
protectorNelek16-Nov-07 1:35 
GeneralRe: Auto-Code of MFC Classes Pin
baerten16-Nov-07 2:32
baerten16-Nov-07 2:32 
GeneralRe: Auto-Code of MFC Classes Pin
Nelek16-Nov-07 4:02
protectorNelek16-Nov-07 4:02 
Then it can be done as I said at the 1st try.

Go to the NewView.h and the NewView.cpp, press ctrl+H, replace all CFormView with CUniView. So you are deriving like this.

CUniView : Public CFormView

CNewView : Public CUniView //(and for extension is : Public CFormView too)

The functions and all things that you have in your CUniView may be public but MUST NOT be private if they are supposed to be used in the NewView. If you have private things that you want to use in the other one, change it to protected (its not public, but can be used by the derived classes).

I hope it helps you



Greetings.

--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson

QuestionHow to make package? Pin
H4u3215-Nov-07 23:52
H4u3215-Nov-07 23:52 
AnswerRe: How to make package? Pin
Nelek16-Nov-07 0:04
protectorNelek16-Nov-07 0:04 
GeneralRe: How to make package? Pin
H4u3216-Nov-07 0:42
H4u3216-Nov-07 0:42 
GeneralRe: How to make package? Pin
H4u3216-Nov-07 0:42
H4u3216-Nov-07 0:42 
QuestionHow to write copy constructor when returning any template object. Pin
Atul2315-Nov-07 22:06
Atul2315-Nov-07 22:06 
AnswerRe: How to write copy constructor when returning any template object. Pin
Nelek15-Nov-07 22:29
protectorNelek15-Nov-07 22:29 
AnswerRe: How to write copy constructor when returning any template object. Pin
codeII15-Nov-07 22:31
codeII15-Nov-07 22:31 
AnswerSure? Pin
CPallini15-Nov-07 22:31
mveCPallini15-Nov-07 22:31 
AnswerYou are missing quite a lot of braces here [modified] Pin
jhwurmbach16-Nov-07 3:43
jhwurmbach16-Nov-07 3:43 
GeneralRe: You are missing quite a lot of braces here Pin
CPallini16-Nov-07 4:30
mveCPallini16-Nov-07 4:30 
GeneralRe: You are missing quite a lot of braces here Pin
jhwurmbach18-Nov-07 22:04
jhwurmbach18-Nov-07 22:04 
GeneralRe: You are missing quite a lot of braces here Pin
CPallini18-Nov-07 22:24
mveCPallini18-Nov-07 22:24 
GeneralRe: You are missing quite a lot of braces here Pin
jhwurmbach18-Nov-07 22:35
jhwurmbach18-Nov-07 22:35 
GeneralRe: You are missing quite a lot of braces here Pin
CPallini18-Nov-07 22:46
mveCPallini18-Nov-07 22:46 
GeneralRe: You are missing quite a lot of braces here [modified] Pin
jhwurmbach18-Nov-07 22:48
jhwurmbach18-Nov-07 22:48 
GeneralOh, that isn't correct Pin
CPallini18-Nov-07 22:54
mveCPallini18-Nov-07 22:54 
GeneralRe: Oh, that isn't correct Pin
jhwurmbach18-Nov-07 23:01
jhwurmbach18-Nov-07 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.