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

C / C++ / MFC

 
AnswerRe: How to Display HTML strings in MFC ? Pin
jjoshua16-Feb-08 17:31
jjoshua16-Feb-08 17:31 
GeneralOnKeyUp() not get invoked Pin
Anu_Bala14-Feb-08 19:07
Anu_Bala14-Feb-08 19:07 
GeneralRe: OnKeyUp() not get invoked Pin
Prasanth M V14-Feb-08 23:23
Prasanth M V14-Feb-08 23:23 
QuestionAbt changing the settings of default keys In Win CE 6.0 Pin
Pankaj Kothawade14-Feb-08 18:52
Pankaj Kothawade14-Feb-08 18:52 
Generalencryption in windows mobile [modified] Pin
guru moorthy.k14-Feb-08 18:51
guru moorthy.k14-Feb-08 18:51 
GeneralRe: encryption in windows mobile Pin
Rajesh R Subramanian14-Feb-08 20:27
professionalRajesh R Subramanian14-Feb-08 20:27 
QuestionThreads not working in network Pin
Wamuti14-Feb-08 18:22
Wamuti14-Feb-08 18:22 
GeneralRe: Threads not working in network Pin
Rajkumar R14-Feb-08 19:08
Rajkumar R14-Feb-08 19:08 
QuestionRe: Threads not working in network Pin
Wamuti14-Feb-08 19:52
Wamuti14-Feb-08 19:52 
GeneralRe: Threads not working in network Pin
Mark Salsbery15-Feb-08 6:49
Mark Salsbery15-Feb-08 6:49 
GeneralRe: Threads not working in network Pin
Wamuti17-Feb-08 20:07
Wamuti17-Feb-08 20:07 
GeneralRe: Threads not working in network Pin
Mark Salsbery18-Feb-08 6:19
Mark Salsbery18-Feb-08 6:19 
GeneralRe: Threads not working in network Pin
Wamuti18-Feb-08 19:23
Wamuti18-Feb-08 19:23 
Generalcom Pin
tarak Desai14-Feb-08 17:56
tarak Desai14-Feb-08 17:56 
GeneralRe: com Pin
Wamuti14-Feb-08 18:37
Wamuti14-Feb-08 18:37 
AnswerRe: com Pin
Wamuti14-Feb-08 18:43
Wamuti14-Feb-08 18:43 
GeneralRe: com Pin
ThatsAlok14-Feb-08 22:25
ThatsAlok14-Feb-08 22:25 
GeneralAlignment of Variables Whitin structure Pin
ForNow14-Feb-08 17:53
ForNow14-Feb-08 17:53 
GeneralRe: Alignment of Variables Whitin structure Pin
Maxwell Chen14-Feb-08 18:11
Maxwell Chen14-Feb-08 18:11 
GeneralRe: Alignment of Variables Whitin structure Pin
ForNow14-Feb-08 22:05
ForNow14-Feb-08 22:05 
GeneralRe: Alignment of Variables Whitin structure Pin
Iain Clarke, Warrior Programmer14-Feb-08 22:28
Iain Clarke, Warrior Programmer14-Feb-08 22:28 
GeneralRe: Alignment of Variables Whitin structure Pin
ForNow15-Feb-08 0:01
ForNow15-Feb-08 0:01 
GeneralHelp with OOP Pin
Lord Kixdemp14-Feb-08 17:22
Lord Kixdemp14-Feb-08 17:22 
Hello everyone!

I'm designing a OOP-based system in C++, and I'm having a little problem. Say I have this:

class Class1
{
    virtual void Draw(Image *a_pImage);
};

class Class2 : public Class1
{
    virtual void Draw(Image *a_pImage);
};


Class1::Draw takes care of ugly low-level stuff, and that's a lot of code. How can Class2::Draw call Class1::Draw so that I don't have to copy-paste all of the code in Class2? In C#, for example, you used base.Draw, but base doesn't exist in C++...
Thanks!

Windows Calculator told me I will die at 28. Frown | :(

GeneralRe: Help with OOP [modified] Pin
Rajkumar R14-Feb-08 17:34
Rajkumar R14-Feb-08 17:34 
GeneralRe: Help with OOP Pin
Lord Kixdemp14-Feb-08 17:38
Lord Kixdemp14-Feb-08 17:38 

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.