Re: Mal wieder: Probleme mit Feature-Pack - Toolbars
- From: "Martin Richter [MVP]" <martin.richter@xxxxxxxx>
- Date: Mon, 25 Aug 2008 12:38:14 +0200
Hallo Holger!
NEIN! Es steht doch dort direkt, dass in diesem Fall
OnDestroy NICHT aufgerufen wird -> also wird die globale
Liste NICHT aufgeräumt!
Warum wirst Du laut? Wo steht das? Und warum?
1. Ein CMFCToolBar ist von CWnd abgeleitet
2. Der Destruktor von CWnd ruft DestroyWindow auf wenn m_hWnd nict NULL ist (siehe MFC Source Code)
3. DestroyWndow führt zum Aufruf von OnDestroy.
CMFCToolBar kann doch nicht verhindern das der CWnd Destruktor aufgerufen wird! Ich kann Dein Problem in keiner Weise in einem Sample nachvollziehen.
--
Martin Richter [MVP] WWJD http://blog.m-ri.de
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
FAQ: http://www.mpdvc.de Samples: http://www.codeproject.com
.
- Follow-Ups:
- Re: Mal wieder: Probleme mit Feature-Pack - Toolbars
- From: Holger Gothan
- Re: Mal wieder: Probleme mit Feature-Pack - Toolbars
- References:
- Mal wieder: Probleme mit Feature-Pack - Toolbars
- From: Holger Gothan
- Re: Mal wieder: Probleme mit Feature-Pack - Toolbars
- From: Martin Richter [MVP]
- Re: Mal wieder: Probleme mit Feature-Pack - Toolbars
- From: Holger Gothan
- Mal wieder: Probleme mit Feature-Pack - Toolbars
- Prev by Date: Re: Wrapper für Basis-Klasse und abgeleitete Klasse
- Next by Date: Re: Mal wieder: Probleme mit Feature-Pack - Toolbars
- Previous by thread: Re: Mal wieder: Probleme mit Feature-Pack - Toolbars
- Next by thread: Re: Mal wieder: Probleme mit Feature-Pack - Toolbars
- Index(es):
Relevant Pages
|