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

C / C++ / MFC

 
AnswerRe: Making a class non derivable Pin
«_Superman_»9-Aug-07 23:22
professional«_Superman_»9-Aug-07 23:22 
QuestionOperator functions. Pin
tom groezer9-Aug-07 10:58
tom groezer9-Aug-07 10:58 
AnswerRe: Operator functions. Pin
Mark Salsbery9-Aug-07 12:25
Mark Salsbery9-Aug-07 12:25 
AnswerRe: Operator functions. Pin
jhwurmbach9-Aug-07 22:27
jhwurmbach9-Aug-07 22:27 
Question[Message Deleted] Pin
Vaclav_9-Aug-07 10:01
Vaclav_9-Aug-07 10:01 
AnswerRe: MFC - gallery and Add to project - missing virtuals Pin
Mark Salsbery9-Aug-07 12:38
Mark Salsbery9-Aug-07 12:38 
General[Message Deleted] Pin
Vaclav_9-Aug-07 17:45
Vaclav_9-Aug-07 17:45 
GeneralRe: MFC - gallery and Add to project - missing virtuals Pin
Nelek9-Aug-07 20:20
protectorNelek9-Aug-07 20:20 
Mmm,

"However, after adding the newly created view class in doc/view template it cannot be used until the constructor is made public."

Im not agree with that. I have a multiview project MainView is CScrollView derived and there are 3 SecViews template from CForm derived but I can have up to 49 Views opened at the same time. The constructors of my SecondaryViews are still protected.

For the problem with the GetDocument (), it is easy to implement a trick. I use GetDocument ONLY in my MainView but I can access to the document from ALL the classes I have implemented (more than 50), it doesn't matters if they are View-derived or Object-derived or another parent class.

By printing from secondary views you don't get it easly with the assistant but you can add it manually and works perfectly.

If u need some examples about ask for Smile | :)

Greetings.

--------
M.D.V.

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?

GeneralRe: MFC - gallery and Add to project - missing virtuals Pin
jhwurmbach9-Aug-07 22:47
jhwurmbach9-Aug-07 22:47 
GeneralRe: MFC - gallery and Add to project - missing virtuals Pin
jhwurmbach10-Aug-07 3:53
jhwurmbach10-Aug-07 3:53 
AnswerRe: MFC - gallery and Add to project - missing virtuals [modified] Pin
Nelek13-Aug-07 21:19
protectorNelek13-Aug-07 21:19 
QuestionGetting program directory Pin
hxhl959-Aug-07 9:25
hxhl959-Aug-07 9:25 
AnswerRe: Getting program directory Pin
Chris Losinger9-Aug-07 9:34
professionalChris Losinger9-Aug-07 9:34 
QuestionRe: Getting program directory Pin
hxhl959-Aug-07 11:01
hxhl959-Aug-07 11:01 
AnswerRe: Getting program directory Pin
Chris Losinger9-Aug-07 11:07
professionalChris Losinger9-Aug-07 11:07 
AnswerRe: Getting program directory Pin
David Crow10-Aug-07 2:57
David Crow10-Aug-07 2:57 
QuestionRe: Getting program directory Pin
hxhl9510-Aug-07 12:25
hxhl9510-Aug-07 12:25 
AnswerRe: Getting program directory Pin
David Crow11-Aug-07 6:35
David Crow11-Aug-07 6:35 
Questionconversion operator ??? Plz help ......... Pin
Zealous_Me9-Aug-07 7:37
Zealous_Me9-Aug-07 7:37 
AnswerRe: conversion operator ??? Plz help ......... Pin
led mike9-Aug-07 8:08
led mike9-Aug-07 8:08 
GeneralRe: conversion operator ??? Plz help ......... Pin
Zealous_Me9-Aug-07 8:32
Zealous_Me9-Aug-07 8:32 
GeneralRe: conversion operator ??? Plz help ......... Pin
led mike9-Aug-07 9:08
led mike9-Aug-07 9:08 
GeneralRe: conversion operator ??? Plz help ......... Pin
Zealous_Me10-Aug-07 8:57
Zealous_Me10-Aug-07 8:57 
GeneralGood luck in the future! Pin
leckey9-Aug-07 9:48
leckey9-Aug-07 9:48 
GeneralRe: Good luck in the future! Pin
Zealous_Me10-Aug-07 8:55
Zealous_Me10-Aug-07 8:55 

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.