Click here to Skip to main content
15,923,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGood Luck! Pin
CPallini20-Dec-07 12:45
mveCPallini20-Dec-07 12:45 
GeneralRe: Class/struct declarations and bit patterns [modified] Pin
Mark Salsbery20-Dec-07 13:22
Mark Salsbery20-Dec-07 13:22 
GeneralAfter a picture is tranformed by GDI+, mouse cursor point problem Pin
followait20-Dec-07 5:57
followait20-Dec-07 5:57 
GeneralRe: After a picture is tranformed by GDI+, mouse cursor point problem Pin
CPallini20-Dec-07 10:16
mveCPallini20-Dec-07 10:16 
Generalplzz hlep Pin
coderwizard20-Dec-07 3:45
coderwizard20-Dec-07 3:45 
GeneralRe: plzz hlep Pin
George L. Jackson20-Dec-07 4:54
George L. Jackson20-Dec-07 4:54 
GeneralRe: plzz hlep Pin
coderwizard20-Dec-07 5:19
coderwizard20-Dec-07 5:19 
GeneralRe: plzz hlep Pin
fearless20-Dec-07 5:05
fearless20-Dec-07 5:05 
GeneralRe: plzz hlep Pin
Chris Losinger20-Dec-07 5:10
professionalChris Losinger20-Dec-07 5:10 
GeneralRe: plzz hlep Pin
leckey20-Dec-07 5:15
leckey20-Dec-07 5:15 
JokeRe: plzz hlep Pin
David Crow20-Dec-07 5:25
David Crow20-Dec-07 5:25 
GeneralRe: plzz hlep Pin
leckey20-Dec-07 6:38
leckey20-Dec-07 6:38 
JokeRe: plzz hlep Pin
CPallini20-Dec-07 5:21
mveCPallini20-Dec-07 5:21 
JokeRe: plzz hlep Pin
Hamid_RT20-Dec-07 5:27
Hamid_RT20-Dec-07 5:27 
GeneralRe: plzz hlep Pin
CPallini20-Dec-07 5:59
mveCPallini20-Dec-07 5:59 
GeneralRe: plzz hlep Pin
Hamid_RT20-Dec-07 6:45
Hamid_RT20-Dec-07 6:45 
GeneralRe: plzz hlep Pin
Mark Salsbery20-Dec-07 5:15
Mark Salsbery20-Dec-07 5:15 
GeneralRe: plzz hlep Pin
George L. Jackson20-Dec-07 8:51
George L. Jackson20-Dec-07 8:51 
GeneralRe: plzz hlep Pin
Hamid_RT20-Dec-07 5:22
Hamid_RT20-Dec-07 5:22 
JokeRe: plzz hlep Pin
David Crow20-Dec-07 5:28
David Crow20-Dec-07 5:28 
Questionvirtual member? Pin
Stan the man20-Dec-07 2:52
Stan the man20-Dec-07 2:52 
Hi.

I am not sure how to explain this but I want to declare a member in a base class. IN a class derived from this, I want to be able to be able to override the member with another class that is derived from that original member.

Ex:

class CBase
{
virtual CTest m_test;

}

class CBase1 : public CBase
{

virtual CTest1 m_test;

}

CTest1 is derived from CTest.

I want to be able to almost use the same name in each class and just add more fuunctionality in the CBase1 class, but CBase will still be able to call fuctions from m_test. Then in CBase1, it can call additional functions available in CTest1... This is like a virtual function but I want to do it for a member variable or something.

I am not sure if I explained it right. Anyone can give me an idea?

Thanks.

Stan the man
AnswerRe: virtual member? Pin
Chris Losinger20-Dec-07 3:01
professionalChris Losinger20-Dec-07 3:01 
GeneralRe: virtual member? Pin
Stan the man20-Dec-07 3:07
Stan the man20-Dec-07 3:07 
AnswerRe: virtual member? Pin
Maximilien20-Dec-07 3:06
Maximilien20-Dec-07 3:06 
GeneralRe: virtual member? Pin
Stan the man20-Dec-07 3:11
Stan the man20-Dec-07 3:11 

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.