<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Something like windowWillClose ?</title>
		<atom:link href="http://cycling74.com/forums/topic/something-like-windowwillclose/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/something-like-windowwillclose/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 14:02:32 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-59040</guid>
					<title><![CDATA[Something like windowWillClose ?]]></title>
					<link>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-59040</link>
					<pubDate>Sun, 25 Sep 2011 14:34:27 +0000</pubDate>
					<dc:creator>nicolas danet</dc:creator>

					<description>
						<![CDATA[
						<p>Hello folks,</p>
<p>i have an UI external in a subpatch ; external&#8217;s appearance change according to focus/focusLost ; problem occurs when i close/reopen the window : i get few milliseconds latency (drawn focused colors) before to paint it as it should (unfocused colors) &#8230; is there a way to paint it just before to close the window ? Is there a kind of windowWillClosed notification to avoid this behavior ?</p>
<p>any clue welcomed ;-)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-212126</guid>
					<title><![CDATA[Re: Something like windowWillClose ?]]></title>
					<link>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-212126</link>
					<pubDate>Mon, 26 Sep 2011 10:33:42 +0000</pubDate>
					<dc:creator>nicolas danet</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>Solved.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-212127</guid>
					<title><![CDATA[Re: Something like windowWillClose ?]]></title>
					<link>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-212127</link>
					<pubDate>Mon, 26 Sep 2011 13:29:20 +0000</pubDate>
					<dc:creator>11olsen</dc:creator>

					<description>
						<![CDATA[
						<p>How?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-212128</guid>
					<title><![CDATA[Re: Something like windowWillClose ?]]></title>
					<link>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-212128</link>
					<pubDate>Mon, 26 Sep 2011 13:44:50 +0000</pubDate>
					<dc:creator>nicolas danet</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,</p>
<p>after investigated deeper in process order,<br />
i founded that strange behavior :</p>
<p>close the window :</p>
<p>- FocusLost method called;<br />
- Invisible method called;</p>
<p>reopen it :</p>
<p>- Focus method called; ###???<br />
- Paint method called;<br />
- FocusLost method called;<br />
- Visible method called;</p>
<p>i just add something like that in my paint method :</p>
<pre><code>if (x->isVisible) {
paint layers;
}</code></pre>						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-212129</guid>
					<title><![CDATA[Re: Something like windowWillClose ?]]></title>
					<link>http://cycling74.com/forums/topic/something-like-windowwillclose/#post-212129</link>
					<pubDate>Mon, 26 Sep 2011 15:43:13 +0000</pubDate>
					<dc:creator>nicolas danet</dc:creator>

					<description>
						<![CDATA[
						<p>&#8230; and finally add a t_clock  &#8230; and cancel the focusGainedTask in case of a focusLost called later &#8230; headache ;-)</p>
<p>all that stuff because max seems to ALWAYS send a focusGained method AND a focutLost method to my GUI before to open and close the patcher window.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

