Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Delete modeless TopWindow based object created with new
Delete modeless TopWindow based object created with new [message #50786] Tue, 18 December 2018 18:51 Go to previous message
awksed is currently offline  awksed
Messages: 38
Registered: April 2012
Member
Where should I delete a modeless TopWindow based object created with new?

In MFC I do it here:

virtual void PostNcDestroy()
{
if(m_bModeless)
delete this;
}

Thanks
 
Read Message
Read Message
Previous Topic: Convert: Format, Scan and Filter...
Next Topic: Assist autocompletion list incomplete in 12567 nightly (Win64 host with mingw)
Goto Forum:
  


Current Time: Sun Aug 25 15:28:44 CEST 2019

Total time taken to generate the page: 0.00864 seconds