Click here to Skip to main content
15,889,909 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: menu next to images Pin
Member 466743725-May-04 9:26
Member 466743725-May-04 9:26 
GeneralRe: menu next to images Pin
Maximilien25-May-04 9:30
Maximilien25-May-04 9:30 
GeneralRe: menu next to images Pin
Member 466743726-May-04 11:14
Member 466743726-May-04 11:14 
GeneralQuestion about Saving Fonts. Pin
Mike Doner25-May-04 4:15
Mike Doner25-May-04 4:15 
GeneralRe: Question about Saving Fonts. Pin
Johan Rosengren25-May-04 21:28
Johan Rosengren25-May-04 21:28 
GeneralHelp: How to retrieve UNIT of a scroll bar Pin
fotoONE25-May-04 3:57
fotoONE25-May-04 3:57 
GeneralRe: Help: How to retrieve UNIT of a scroll bar Pin
Maximilien25-May-04 4:19
Maximilien25-May-04 4:19 
Generalprivate member in base class problem Pin
kzyczynski25-May-04 3:52
kzyczynski25-May-04 3:52 
Hello
I'm writing a class derived from MFC's CTime with additional methods for my
app but have a problem.
Time variable in base class is declared as follows:
private:
time_t m_time;
Is there any 'magical c++' trick to access it in derived class? Smile | :)
(without changing base class of course)
For now i see only two options (not deriving):
Rewrite entire class
or put CTime in new class as a member and do some tricks with all required methods.

But maybe someone hava a better idea?
thanks
Chris

GeneralRe: private member in base class problem Pin
Maximilien25-May-04 3:55
Maximilien25-May-04 3:55 
GeneralRe: private member in base class problem Pin
kzyczynski25-May-04 5:24
kzyczynski25-May-04 5:24 
GeneralRe: private member in base class problem Pin
jmkhael25-May-04 3:59
jmkhael25-May-04 3:59 
GeneralRe: private member in base class problem Pin
Hans Ruck25-May-04 5:04
Hans Ruck25-May-04 5:04 
QuestionHow to increase print preview area Pin
Member 16246225-May-04 3:41
Member 16246225-May-04 3:41 
Questionwhat wrong with this function template? Pin
DengJW25-May-04 2:17
DengJW25-May-04 2:17 
AnswerRe: what wrong with this function template? Pin
jmkhael25-May-04 2:38
jmkhael25-May-04 2:38 
AnswerRe: what wrong with this function template? Pin
ilostmyid225-May-04 2:39
professionalilostmyid225-May-04 2:39 
AnswerRe: what wrong with this function template? Pin
DengJW25-May-04 2:47
DengJW25-May-04 2:47 
GeneralRe: what wrong with this function template? Pin
ilostmyid225-May-04 2:51
professionalilostmyid225-May-04 2:51 
GeneralRe: what wrong with this function template? Pin
DengJW25-May-04 3:14
DengJW25-May-04 3:14 
GeneralRe: what wrong with this function template? Pin
ilostmyid225-May-04 3:25
professionalilostmyid225-May-04 3:25 
GeneralRe: what wrong with this function template? Pin
DengJW25-May-04 3:36
DengJW25-May-04 3:36 
GeneralRe: what wrong with this function template? Pin
ilostmyid225-May-04 3:43
professionalilostmyid225-May-04 3:43 
AnswerRe: what wrong with this function template? Pin
Henrik Stuart25-May-04 2:49
Henrik Stuart25-May-04 2:49 
GeneralRe: what wrong with this function template? Pin
DengJW25-May-04 3:06
DengJW25-May-04 3:06 
GeneralRe: what wrong with this function template? Pin
Henrik Stuart25-May-04 3:14
Henrik Stuart25-May-04 3:14 

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.