OK, so a little progress report :-)
1. Closing the top window (by hitting the X button in the windows corner ;-) )
Works fine for me. Document closes properly, the office asks if I want to save it,
the refcount goes down to 3, and the dtor is called properly.
The flow of disposing is like this :
TabParentWindow : disposing() :
-> calls Desktop->terminate()
-> childrenFrames : disposing()
-> when all
tabs are removed the tab control is removed
TopWindow : disposing()
-> nothing special here. only clear the m_xTopWindow reference.
2. When we are being closed by File->Exit there are still some problems.
But I think I'm very close :-)))
Andrzej
- Re: [framework-dev] Google Summer of Code 2005 - ... Andreas Schlüns
- Re: [framework-dev] Google Summer of Code 20... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Cod... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summe... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summe... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Code 2005 - ... Andreas Schlüns
- Re: [framework-dev] Google Summer of Code 20... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Cod... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Code 2005 - ... Andreas Schlüns
- Re: [framework-dev] Google Summer of Code 20... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Code 2005 - ... Andreas Schlüns
- Re: [framework-dev] Google Summer of Code 20... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Cod... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Code 2005 - ... Andreas Schlüns
- Re: [framework-dev] Google Summer of Code 20... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Code 2005 - ... Andreas Schlüns
- Re: [framework-dev] Google Summer of Code 20... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Code 20... Andrzej Wytyczak-Partyka
- Re: [framework-dev] Google Summer of Code 20... CPHennessy