<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Funktionsaufruf vor Beenden]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine kleine MFC-Anwendung geschrieben die nur aus einem Dialog besteht.</p>
<p>Ich möchte dass wenn man oben rechts auf das X klickt noch eine Funktion aufgerufen wird bevor das Programm beendet wird.<br />
Geht das, oder muss ich einen extra Button einfügen der die Funktion und dann OnOK() aufruft??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/191096/funktionsaufruf-vor-beenden</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 09:06:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/191096.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Aug 2007 07:59:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Funktionsaufruf vor Beenden on Thu, 30 Aug 2007 07:59:57 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine kleine MFC-Anwendung geschrieben die nur aus einem Dialog besteht.</p>
<p>Ich möchte dass wenn man oben rechts auf das X klickt noch eine Funktion aufgerufen wird bevor das Programm beendet wird.<br />
Geht das, oder muss ich einen extra Button einfügen der die Funktion und dann OnOK() aufruft??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1355119</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1355119</guid><dc:creator><![CDATA[14n]]></dc:creator><pubDate>Thu, 30 Aug 2007 07:59:57 GMT</pubDate></item><item><title><![CDATA[Reply to Funktionsaufruf vor Beenden on Thu, 30 Aug 2007 08:02:31 GMT]]></title><description><![CDATA[<p>Das x ist glaube OnCancelm, genau wie der Abbrechen-Button. Ansonsten kann man auch noch das WM_CLOSE anfangen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1355121</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1355121</guid><dc:creator><![CDATA[Pellaeon]]></dc:creator><pubDate>Thu, 30 Aug 2007 08:02:31 GMT</pubDate></item><item><title><![CDATA[Reply to Funktionsaufruf vor Beenden on Thu, 30 Aug 2007 08:16:54 GMT]]></title><description><![CDATA[<p>Oder sogar erst wenn das Programm kurz vor dem Beenden ist und bereits der Dialog vom Bildschirm verschwunden ist in CWinApp::ExitInstance.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1355132</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1355132</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 30 Aug 2007 08:16:54 GMT</pubDate></item><item><title><![CDATA[Reply to Funktionsaufruf vor Beenden on Thu, 30 Aug 2007 08:37:24 GMT]]></title><description><![CDATA[<p>Einfach die Funktion OnClose() erstellen und da dann alles reinpacken was beliebt.<br />
Findet man unter den Meldungen des Dialogfensters</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1355144</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1355144</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Thu, 30 Aug 2007 08:37:24 GMT</pubDate></item><item><title><![CDATA[Reply to Funktionsaufruf vor Beenden on Thu, 30 Aug 2007 09:14:22 GMT]]></title><description><![CDATA[<p>OK, Danke.<br />
Habs jetzt mit OnClose() gelöst</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1355172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1355172</guid><dc:creator><![CDATA[14n]]></dc:creator><pubDate>Thu, 30 Aug 2007 09:14:22 GMT</pubDate></item></channel></rss>