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

C / C++ / MFC

 
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 
GeneralRe: why virtual destructor? Pin
devvvy3-Nov-02 18:57
devvvy3-Nov-02 18:57 
Thanks, but "both the B destructor and the A destructor will be called."

how did that happen? thru what mechanism is A's destructor invoked when a class B instance is destroy?

i thought, unless:

class B
{
...
...
~B()
{
...
~A(); //Invoke base class destructor?
}
...
...
};

and what about constructor?

norm
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 
GeneralRe: table schema Pin
Mazdak3-Nov-02 19:37
Mazdak3-Nov-02 19:37 

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.