Click here to Skip to main content
16,014,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Replacing scrollbars in stock MFC controls? Pin
David Wulff28-May-02 5:41
David Wulff28-May-02 5:41 
Questioncda to wav class? Pin
bryce27-May-02 13:53
bryce27-May-02 13:53 
GeneralHas anyone ever felt the need to use virtual base classes Pin
Rama Krishna Vavilala27-May-02 13:51
Rama Krishna Vavilala27-May-02 13:51 
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Christian Graus27-May-02 14:21
protectorChristian Graus27-May-02 14:21 
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Rama Krishna Vavilala27-May-02 14:29
Rama Krishna Vavilala27-May-02 14:29 
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Christian Graus27-May-02 14:47
protectorChristian Graus27-May-02 14:47 
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Rama Krishna Vavilala27-May-02 14:58
Rama Krishna Vavilala27-May-02 14:58 
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Christian Graus27-May-02 15:03
protectorChristian Graus27-May-02 15:03 
A virtual base class has at least one pure virtual function

virtual void PaintNow(CDC & DC) =0;

Therefore it cannot be instantiated, it exists somewhat like an interface as I understand it in C# ( which is to say barely Smile | :) ). Multiple inheritance is possible, but in no way implied by the fact that a class is a virtual base. It simply means the class itself cannot be instantiated, because it defines functions that derived classes MUST impliment ( which is it's function ).



Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Rama Krishna Vavilala27-May-02 15:07
Rama Krishna Vavilala27-May-02 15:07 
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Paul M Watt27-May-02 17:06
mentorPaul M Watt27-May-02 17:06 
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Paul M Watt27-May-02 17:09
mentorPaul M Watt27-May-02 17:09 
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Michael Dunn27-May-02 16:05
sitebuilderMichael Dunn27-May-02 16:05 
GeneralRe: Has anyone ever felt the need to use virtual base classes Pin
Rama Krishna Vavilala27-May-02 16:13
Rama Krishna Vavilala27-May-02 16:13 
QuestionDo not use precompiled headers for a file? Pin
27-May-02 9:05
suss27-May-02 9:05 
AnswerRe: Do not use precompiled headers for a file? Pin
27-May-02 9:33
suss27-May-02 9:33 
AnswerRe: Do not use precompiled headers for a file? Pin
Joaquín M López Muñoz27-May-02 10:17
Joaquín M López Muñoz27-May-02 10:17 
GeneralRe: Do not use precompiled headers for a file? Pin
27-May-02 13:14
suss27-May-02 13:14 
GeneralRe: Do not use precompiled headers for a file? Pin
Rama Krishna Vavilala27-May-02 15:23
Rama Krishna Vavilala27-May-02 15:23 
GeneralRe: Do not use precompiled headers for a file? Pin
28-May-02 1:57
suss28-May-02 1:57 
AnswerRe: Do not use precompiled headers for a file? Pin
Joel Lucsy27-May-02 17:12
Joel Lucsy27-May-02 17:12 
GeneralDetermine if a string is a number Pin
Anton A. Loukine27-May-02 7:34
Anton A. Loukine27-May-02 7:34 
GeneralRe: Determine if a string is a number Pin
Ravi Bhavnani27-May-02 7:50
professionalRavi Bhavnani27-May-02 7:50 
GeneralRe: Determine if a string is a number Pin
Matt Gullett27-May-02 7:58
Matt Gullett27-May-02 7:58 
GeneralRe: Determine if a string is a number Pin
Anders Molin27-May-02 10:12
professionalAnders Molin27-May-02 10:12 
GeneralRe: Determine if a string is a number Pin
l a u r e n27-May-02 11:57
l a u r e n27-May-02 11:57 

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.