Click here to Skip to main content
15,921,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Finding Child Windows Pin
Daniel Ferguson26-Feb-02 18:01
Daniel Ferguson26-Feb-02 18:01 
GeneralCWnd destruction Pin
alex.barylski26-Feb-02 13:30
alex.barylski26-Feb-02 13:30 
GeneralRe: CWnd destruction Pin
Jay Beckert26-Feb-02 13:57
Jay Beckert26-Feb-02 13:57 
GeneralRe: CWnd destruction Pin
alex.barylski26-Feb-02 13:57
alex.barylski26-Feb-02 13:57 
GeneralRe: CWnd destruction Pin
Christian Graus26-Feb-02 14:06
protectorChristian Graus26-Feb-02 14:06 
GeneralRe: CWnd destruction Pin
alex.barylski26-Feb-02 15:04
alex.barylski26-Feb-02 15:04 
GeneralRe: CWnd destruction Pin
Christian Graus26-Feb-02 15:02
protectorChristian Graus26-Feb-02 15:02 
GeneralRe: CWnd destruction Pin
Nish Nishant26-Feb-02 15:15
sitebuilderNish Nishant26-Feb-02 15:15 
Christian Graus wrote:
Not according to MSDN, DestroyWindow destroys the window the CWnd encapsulates, but not the CWnd itself.

In his case, when his parent window is destroyed all the child windows are destroyed too. And he calls delete to delete the CWnd object in the destructor. So things should be okay.

Nish

My most recent CP article :-

A newbie's elementary guide to spawning processes

www.busterboy.org
GeneralRe: CWnd destruction Pin
Nish Nishant26-Feb-02 14:27
sitebuilderNish Nishant26-Feb-02 14:27 
GeneralRe: CWnd destruction Pin
Atul Dharne26-Feb-02 14:53
Atul Dharne26-Feb-02 14:53 
GeneralRe: CWnd destruction Pin
Nish Nishant26-Feb-02 14:57
sitebuilderNish Nishant26-Feb-02 14:57 
GeneralRe: CWnd destruction Pin
alex.barylski26-Feb-02 15:08
alex.barylski26-Feb-02 15:08 
GeneralRe: CWnd destruction Pin
Nish Nishant26-Feb-02 15:14
sitebuilderNish Nishant26-Feb-02 15:14 
GeneralRe: CWnd destruction Pin
alex.barylski26-Feb-02 15:46
alex.barylski26-Feb-02 15:46 
GeneralRe: CWnd destruction Pin
Atul Dharne26-Feb-02 16:28
Atul Dharne26-Feb-02 16:28 
GeneralWindow Pointers Pin
Alan Blakely26-Feb-02 12:52
Alan Blakely26-Feb-02 12:52 
GeneralRe: Window Pointers Pin
Derek Waters26-Feb-02 12:50
Derek Waters26-Feb-02 12:50 
GeneralRe: Window Pointers Pin
Nish Nishant26-Feb-02 12:58
sitebuilderNish Nishant26-Feb-02 12:58 
GeneralDifferent font sizes in a dialog Pin
26-Feb-02 12:36
suss26-Feb-02 12:36 
GeneralRe: Different font sizes in a dialog Pin
Derek Waters26-Feb-02 12:53
Derek Waters26-Feb-02 12:53 
GeneralRe: Different font sizes in a dialog Pin
Nish Nishant26-Feb-02 12:53
sitebuilderNish Nishant26-Feb-02 12:53 
GeneralRe: Different font sizes in a dialog Pin
Nish Nishant26-Feb-02 12:56
sitebuilderNish Nishant26-Feb-02 12:56 
GeneralDocument views Pin
26-Feb-02 12:29
suss26-Feb-02 12:29 
GeneralRe: Document views Pin
Derek Waters26-Feb-02 12:56
Derek Waters26-Feb-02 12:56 
GeneralVisual C++ breakpoint won't trigger. Pin
clintsinger26-Feb-02 10:50
clintsinger26-Feb-02 10:50 

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.