<?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: close standalone with window-close button (X)</title>
		<atom:link href="http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 07:26:17 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-50631</guid>
					<title><![CDATA[close standalone with window-close button (X)]]></title>
					<link>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-50631</link>
					<pubDate>Sat, 29 May 2010 00:08:03 +0000</pubDate>
					<dc:creator>kitetaka</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, maybe a newbie question:</p>
<p>By default, standalone built by Max quits with File menu or Ctrl+Q (on windows)<br />
Is there a way to enable the red X button on right hand corner and close the application with it? now it&#8217;s grayed out. </p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181632</guid>
					<title><![CDATA[Re: close standalone with window-close button (X)]]></title>
					<link>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181632</link>
					<pubDate>Sat, 29 May 2010 02:19:03 +0000</pubDate>
					<dc:creator>Ben Bracken</dc:creator>

					<description>
						<![CDATA[
						<p>If I understand what you want to do, you have to do a few things.  </p>
<p>First, you need to enable the window close button.  This is done with a window message to thispatcher with a loadbang.  </p>
<p>You then need to tell Max that when the patcher is closed, you want close the app.  You can do this with a closebang that triggers a message to Max:</p>
<div><span id="toggle181632-0" class="patchtoggle" onmousedown="toggleMaxPatch('post181632-0', 'er181632-0');">&#8211; Pasted Max <span id="maxversion181632-0"></span> Patch, click to <span id="er181632-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A416.3ocyT98aBBCDG%2BY3uhl5qrE9gf37o8OvR1yalkJbhcAZczxjMi%2BuOZA1%0ATGJlnw3KGgu20q28giasoAdFuDDXzCnWPFFqMMLzRJAil2MvYjxnThPGFlAq%0A3ydGaU6RBkRsbJmDOivRZcrjHiVPYIukCQx5763EdusExyUYCrUV2JKZZyQn%0Aw5LUk86F2lFVQFkkBR8c6zHNmyjB52fVSkseikWH2O3ZI4WKg5p.qqxeuTUt%0AXjLsS7i4TRJV4XiooxXcdPIJkKfdnxvgZbTCE%2BiAkvNgh8MKTx.gfj.%2BiJqn%0ArX9Jz7TRh.oQjEpQCJgn9mfBzVmvf5GcSqQcRK2KBstRiOxETglBPd%2BPwwtd%0ADZ7wFg7O%2B%2BqbOHTr5ALMdDjOaOxfmTGZm1DgmnLCdVYAVbsBZ5Eb9axq4Uwg%0A9nfJa8kRYPDufI2tCO3Oqi06t7CZ2l0Eo8tAF%2Bzgo6s81vq6Lk9tzSvKxiZu%0Ajl0vn%2B5tXPHoLhjxYaEynchYAMNFXauWJiFujSYxlR3.eIO0JJ7DpHuqZEM5%0ADpH%2BynhpdYi4OTnuIuH%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post181632-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode181632-0">----------begin_max5_patcher----------
416.3ocyT98aBBCDG+Y3uhl5qrE9gf37o8OvR1yalkJbhcAZczxjMi+uOZA1
TGJlnw3KGgu20q28giasoAdFuDDXzCnWPFFqMMLzRJAil2MvYjxnThPGFlAq
3ydGaU6RBkRsbJmDOivRZcrjHiVPYIukCQx5763EdusExyUYCrUV2JKZZyQn
w5LUk86F2lFVQFkkBR8c6zHNmyjB52fVSkseikWH2O3ZI4WKg5p.qqxeuTUt
XjLsS7i4TRJV4XiooxXcdPIJkKfdnxvgZbTCE+iAkvNgh8MKTx.gfj.+iJqn
rX9Jz7TRh.oQjEpQCJgn9mfBzVmvf5GcSqQcRK2KBstRiOxETglBPd+Pwwtd
DZ7wFg7O++qbOHTr5ALMdDjOaOxfmTGZm1DgmnLCdVYAVbsBZ5Eb9axq4Uwg
9nfJa8kRYPDufI2tCO3Oqi06t7CZ2l0Eo8tAF+zgo6s81vq6Lk9tzSvKxiZu
jl0vn+5tXPHoLhjxYaEynchYAMNFXauWJiFujSYxlR3.eIO0JJ7DpHuqZEM5
DpH+ynhpdYi4OTnuIuH
-----------end_max5_patcher-----------</code></pre></div>
</div>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181634</guid>
					<title><![CDATA[Re: close standalone with window-close button (X)]]></title>
					<link>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181634</link>
					<pubDate>Thu, 22 Jul 2010 17:19:24 +0000</pubDate>
					<dc:creator>StavrosDee</dc:creator>

					<description>
						<![CDATA[
						<p>Hi to all</p>
<p>I don&#8217;t know if the method Ben proposes is a good one or has a bug. I tried this on Max 5.0.7, WinXP Professional 32-bit, and I had a problem. Ok, if you try to build a simple .exe application it will close just fine; however the application still runs if you check the Windows Task Manager under the Processes tab. So unless this has a workaround, I believe it can cause far more problems than to solve.</p>
<p>All the best,</p>
<p>Stav.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181635</guid>
					<title><![CDATA[Re: close standalone with window-close button (X)]]></title>
					<link>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181635</link>
					<pubDate>Thu, 22 Jul 2010 17:35:58 +0000</pubDate>
					<dc:creator>Ben Bracken</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Stav,</p>
<p>I can&#8217;t repro here.  Please update to 5.1.4:  <a href="http://www.cycling74.com/downloads" rel="nofollow">http://www.cycling74.com/downloads</a></p>
<p>-Ben</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181636</guid>
					<title><![CDATA[Re: close standalone with window-close button (X)]]></title>
					<link>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181636</link>
					<pubDate>Fri, 23 Jul 2010 01:43:55 +0000</pubDate>
					<dc:creator>Roman Thilenius</dc:creator>

					<description>
						<![CDATA[
						<p> <br />
[closebang]</p>
<p>|</p>
<p>&#8220;;max<br />
quit&#8221;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181637</guid>
					<title><![CDATA[Re: close standalone with window-close button (X)]]></title>
					<link>http://cycling74.com/forums/topic/close-standalone-with-window-close-button-x/#post-181637</link>
					<pubDate>Tue, 04 Dec 2012 16:50:26 +0000</pubDate>
					<dc:creator>knagle</dc:creator>

					<description>
						<![CDATA[
						<p>Sorry to reignite an old topic. I&#8217;ve just been trying Ben&#8217;s method on a standalone built from Max 5.1.9 and it works fine on a Windows 7 machine. However, on Windows XP, even though the application seems to close I get a Windows error message saying &#8220;MaxMSP has encountered a problem and needs to close. We are sorry for the inconvenience&#8221;. It does not continue to run in the background if I check the task manager however.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

