Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Keep CScrollView scrollbars visible Pin
Hans Dietrich15-May-07 4:43
mentorHans Dietrich15-May-07 4:43 
GeneralRe: Keep CScrollView scrollbars visible Pin
bob1697215-May-07 5:02
bob1697215-May-07 5:02 
AnswerRe: Keep CScrollView scrollbars visible Pin
Mark Salsbery15-May-07 4:45
Mark Salsbery15-May-07 4:45 
GeneralRe: Keep CScrollView scrollbars visible Pin
bob1697215-May-07 4:51
bob1697215-May-07 4:51 
QuestionDialog Based application Pin
Kiran Pinjala15-May-07 3:56
Kiran Pinjala15-May-07 3:56 
AnswerRe: Dialog Based application Pin
Hans Dietrich15-May-07 4:14
mentorHans Dietrich15-May-07 4:14 
GeneralRe: Dialog Based application Pin
Kiran Pinjala15-May-07 4:19
Kiran Pinjala15-May-07 4:19 
AnswerRe: Dialog Based application Pin
Nelek15-May-07 21:39
protectorNelek15-May-07 21:39 
Hi,

As all the destructors. The reason is to free the possible resources that have to be removed to avoid memory leaks or trash in memory. Specially the ones you are using during the whole life-time of the Dialog itself.

The only problem with that is that you can not free "graphical" resources because you don't have the parent window (the dialog) anymore, so the m_hWnd is NULL and is impossible to access them. In this point is better to use the WM_CLOSE because it is called just before destroying the window/dialog.

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Questionget value(address) from ipaddress control Pin
prathuraj15-May-07 3:54
prathuraj15-May-07 3:54 
QuestionRe: get value(address) from ipaddress control Pin
David Crow15-May-07 4:03
David Crow15-May-07 4:03 
AnswerRe: get value(address) from ipaddress control Pin
prathuraj15-May-07 4:20
prathuraj15-May-07 4:20 
QuestionRe: get value(address) from ipaddress control Pin
David Crow15-May-07 4:33
David Crow15-May-07 4:33 
AnswerRe: get value(address) from ipaddress control Pin
prathuraj15-May-07 5:27
prathuraj15-May-07 5:27 
QuestionRe: get value(address) from ipaddress control Pin
David Crow15-May-07 6:00
David Crow15-May-07 6:00 
AnswerRe: get value(address) from ipaddress control Pin
prathuraj15-May-07 6:09
prathuraj15-May-07 6:09 
GeneralRe: get value(address) from ipaddress control Pin
David Crow15-May-07 6:28
David Crow15-May-07 6:28 
QuestionGet dynamic web content Pin
Mathefreak15-May-07 2:31
Mathefreak15-May-07 2:31 
AnswerRe: Get dynamic web content Pin
Paresh Chitte15-May-07 3:01
Paresh Chitte15-May-07 3:01 
QuestionRe: Get dynamic web content Pin
David Crow15-May-07 3:17
David Crow15-May-07 3:17 
AnswerRe: Get dynamic web content Pin
Ravi Bhavnani15-May-07 3:31
professionalRavi Bhavnani15-May-07 3:31 
GeneralRe: Get dynamic web content Pin
Mathefreak15-May-07 3:56
Mathefreak15-May-07 3:56 
GeneralRe: Get dynamic web content Pin
Ravi Bhavnani15-May-07 5:50
professionalRavi Bhavnani15-May-07 5:50 
GeneralRe: Get dynamic web content Pin
Mathefreak20-May-07 9:21
Mathefreak20-May-07 9:21 
Questionhow to import jpeg images into workspace Pin
kiranin15-May-07 2:28
kiranin15-May-07 2:28 
AnswerRe: how to import jpeg images into workspace Pin
Hamid_RT15-May-07 2:45
Hamid_RT15-May-07 2:45 

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.