Click here to Skip to main content
15,921,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Annotation on the Screen Pin
ThatsAlok28-Feb-07 23:21
ThatsAlok28-Feb-07 23:21 
Questionhow to distribute last column of list control to fit into client area? Pin
rakeshbbaldha28-Feb-07 22:52
rakeshbbaldha28-Feb-07 22:52 
AnswerRe: how to distribute last column of list control to fit into client area? Pin
Naveen28-Feb-07 23:08
Naveen28-Feb-07 23:08 
GeneralRe: how to distribute last column of list control to fit into client area? Pin
rakeshbbaldha28-Feb-07 23:14
rakeshbbaldha28-Feb-07 23:14 
GeneralRe: how to distribute last column of list control to fit into client area? Pin
Naveen28-Feb-07 23:40
Naveen28-Feb-07 23:40 
GeneralRe: how to distribute last column of list control to fit into client area? Pin
rakeshbbaldha1-Mar-07 0:58
rakeshbbaldha1-Mar-07 0:58 
AnswerRe: how to distribute last column of list control to fit into client area? Pin
Michael Dunn1-Mar-07 6:00
sitebuilderMichael Dunn1-Mar-07 6:00 
QuestionDerive Class from CTime Pin
e-DJ28-Feb-07 21:46
e-DJ28-Feb-07 21:46 
Hi all,

I want to create a new class derived from CTime.

<br />
class XTime : public CTime  <br />
{<br />
public:<br />
	XTime();<br />
	virtual ~XTime();<br />
<br />
};<br />


then I create a new object

XTime m_Date;

and then I want to initialize my object:

m_Date = NULL;

there is an error when compiling. When I create my object from a normal CTime, everything works.
As far as I learned C++, I can derive a new class and it inherits everything from the base class. But why can't I initialize it? It seems, that the = operator is not working.

Any help?

Juergen
AnswerRe: Derive Class from CTime Pin
Naveen28-Feb-07 22:32
Naveen28-Feb-07 22:32 
GeneralRe: Derive Class from CTime Pin
e-DJ28-Feb-07 23:34
e-DJ28-Feb-07 23:34 
GeneralRe: Derive Class from CTime Pin
Naveen1-Mar-07 0:21
Naveen1-Mar-07 0:21 
GeneralRe: Derive Class from CTime Pin
e-DJ1-Mar-07 4:19
e-DJ1-Mar-07 4:19 
AnswerRe: Derive Class from CTime Pin
Nibu babu thomas28-Feb-07 22:55
Nibu babu thomas28-Feb-07 22:55 
GeneralRe: Derive Class from CTime Pin
e-DJ28-Feb-07 23:48
e-DJ28-Feb-07 23:48 
AnswerRe: Derive Class from CTime Pin
David Crow1-Mar-07 2:39
David Crow1-Mar-07 2:39 
QuestionWin Service problem Pin
david bagaturia28-Feb-07 21:38
david bagaturia28-Feb-07 21:38 
AnswerRe: Win Service problem Pin
JudyL_MD1-Mar-07 2:44
JudyL_MD1-Mar-07 2:44 
GeneralRe: Win Service problem Pin
david bagaturia1-Mar-07 3:11
david bagaturia1-Mar-07 3:11 
GeneralRe: Win Service problem Pin
JudyL_MD1-Mar-07 3:45
JudyL_MD1-Mar-07 3:45 
GeneralRe: Win Service problem Pin
david bagaturia1-Mar-07 18:58
david bagaturia1-Mar-07 18:58 
QuestionAbout Driver priority Pin
mt_samiei28-Feb-07 21:32
mt_samiei28-Feb-07 21:32 
Questionhow can i get all computer in the lan. Pin
bios808628-Feb-07 21:31
bios808628-Feb-07 21:31 
AnswerRe: how can i get all computer in the lan. Pin
bios80861-Mar-07 15:17
bios80861-Mar-07 15:17 
QuestionAbout DirectX??? Pin
siddharthsan28-Feb-07 21:18
siddharthsan28-Feb-07 21:18 
AnswerRe: About DirectX??? Pin
Mark Salsbery1-Mar-07 8:00
Mark Salsbery1-Mar-07 8:00 

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.