Click here to Skip to main content
15,925,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Never lost the focus? Pin
Daniel Strigl4-Nov-02 1:00
Daniel Strigl4-Nov-02 1:00 
GeneralClass wizard Pin
Shamoon3-Nov-02 20:10
Shamoon3-Nov-02 20:10 
GeneralRe: Class wizard Pin
Anatari3-Nov-02 20:16
Anatari3-Nov-02 20:16 
QuestionHow to set the background color of one line of CListCtrl? Pin
Wenrich3-Nov-02 19:28
Wenrich3-Nov-02 19:28 
AnswerRe: How to set the background color of one line of CListCtrl? Pin
viliam4-Nov-02 0:43
viliam4-Nov-02 0:43 
AnswerRe: How to set the background color of one line of CListCtrl? Pin
Alexinuk4-Nov-02 4:36
Alexinuk4-Nov-02 4:36 
Questionwhy virtual destructor? Pin
devvvy3-Nov-02 18:46
devvvy3-Nov-02 18:46 
AnswerRe: why virtual destructor? Pin
Chris Losinger3-Nov-02 18:51
professionalChris Losinger3-Nov-02 18:51 
a virtual destructor ensures that the destructor in the base class is called, in addition to the destructor in any derived classes.

ex:

class A
{
public:
virtual ~A() {...whatver...}
};
class B : public A
{
public:
~B() {...whatver...}
};


when an object of type B is destroyed, both the B destructor and the A destructor will be called.

c++ FAQ lite

-c



“losinger is a colorizing text edit control”
-- googlism

GeneralRe: why virtual destructor? Pin
devvvy3-Nov-02 18:57
devvvy3-Nov-02 18:57 
GeneralRe: why virtual destructor? Pin
Chris Losinger3-Nov-02 18:59
professionalChris Losinger3-Nov-02 18:59 
GeneralRe: why virtual destructor? Pin
Paul M Watt3-Nov-02 19:11
mentorPaul M Watt3-Nov-02 19:11 
GeneralRe: why virtual destructor? Pin
Chris Losinger3-Nov-02 19:23
professionalChris Losinger3-Nov-02 19:23 
GeneralRe: why virtual destructor? Pin
Paul M Watt3-Nov-02 19:39
mentorPaul M Watt3-Nov-02 19:39 
GeneralRe: why virtual destructor? Pin
Chris Losinger3-Nov-02 19:59
professionalChris Losinger3-Nov-02 19:59 
AnswerRe: why virtual destructor? Pin
Paul M Watt3-Nov-02 19:35
mentorPaul M Watt3-Nov-02 19:35 
GeneralRe: why virtual destructor? Pin
devvvy3-Nov-02 19:51
devvvy3-Nov-02 19:51 
GeneralATL COM + ASP Pin
devvvy3-Nov-02 17:53
devvvy3-Nov-02 17:53 
GeneralRe: ATL COM + ASP Pin
Christian Graus3-Nov-02 18:27
protectorChristian Graus3-Nov-02 18:27 
GeneralRe: ATL COM + ASP Pin
devvvy3-Nov-02 18:42
devvvy3-Nov-02 18:42 
Generalis there any good tutorial..>? Pin
devvvy3-Nov-02 18:46
devvvy3-Nov-02 18:46 
GeneralRe: is there any good tutorial..>? Pin
Christian Graus3-Nov-02 21:08
protectorChristian Graus3-Nov-02 21:08 
GeneralRe: ATL COM + ASP Pin
Christian Graus3-Nov-02 21:06
protectorChristian Graus3-Nov-02 21:06 
GeneralRe: ATL COM + ASP Pin
devvvy3-Nov-02 22:07
devvvy3-Nov-02 22:07 
GeneralRe: ATL COM + ASP Pin
Michael P Butler3-Nov-02 23:00
Michael P Butler3-Nov-02 23:00 
Generaltable schema Pin
devvvy3-Nov-02 17:52
devvvy3-Nov-02 17:52 

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.