<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: XPCOM: Javascript function call</title>
	<atom:link href="http://blog.lazytech.info/2007/05/26/xpcom-javascript-function-call/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lazytech.info/2007/05/26/xpcom-javascript-function-call/</link>
	<description>A lazy man's grotto...</description>
	<lastBuildDate>Fri, 06 Aug 2010 09:55:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Lypetepaymn</title>
		<link>http://blog.lazytech.info/2007/05/26/xpcom-javascript-function-call/comment-page-1/#comment-2742</link>
		<dc:creator>Lypetepaymn</dc:creator>
		<pubDate>Thu, 09 Sep 2010 06:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lazytech.info/?p=34#comment-2742</guid>
		<description>I am frequently searching for brandnew articles in the internet about this topic. Thx!!</description>
		<content:encoded><![CDATA[<p>I am frequently searching for brandnew articles in the internet about this topic. Thx!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duo</title>
		<link>http://blog.lazytech.info/2007/05/26/xpcom-javascript-function-call/comment-page-1/#comment-1436</link>
		<dc:creator>Duo</dc:creator>
		<pubDate>Thu, 09 Sep 2010 10:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lazytech.info/?p=34#comment-1436</guid>
		<description>I think you can take a look at minimizetotray&#039;s source code, this is a extension works on Windows.

The JavaScript callback is &quot;&lt;a href=&quot;http://www.mozdev.org/source/browse/minimizetotray/src/minimizetotray/content/minimizetotray/browser.js?rev=1.19;content-type=text%2Fplain&quot; rel=&quot;nofollow&quot;&gt;window.extensions.mook.minimizetotray .trayCallback&lt;/a&gt;&quot;
And it use following bind the &lt;a href=&quot;http://www.mozdev.org/source/browse/minimizetotray/src/minimizetotray/content/minimizetotray/core.js?rev=1.20;content-type=text%2Fplain&quot; rel=&quot;nofollow&quot;&gt;callback function&lt;/a&gt;
this.m_windowHider.minimize(baseWindows.length, baseWindows, null, this.trayCallback);
This is the &lt;a href=&quot;http://www.mozdev.org/source/browse/minimizetotray/src/minimizetotray/trayInterface.idl?rev=1.13;content-type=text%2Fplain&quot; rel=&quot;nofollow&quot;&gt;IDL define&lt;/a&gt;
And you can look the &lt;a href=&quot;http://www.mozdev.org/source/browse/minimizetotray/src/minimizetotray/trayWin32WindowHider.cpp?rev=1.17;content-type=text%2Fplain&quot; rel=&quot;nofollow&quot;&gt;minimize&lt;/a&gt; function detail


Hope these helpful :)</description>
		<content:encoded><![CDATA[<p>I think you can take a look at minimizetotray&#8217;s source code, this is a extension works on Windows.</p>
<p>The JavaScript callback is &#8220;<a href="http://www.mozdev.org/source/browse/minimizetotray/src/minimizetotray/content/minimizetotray/browser.js?rev=1.19;content-type=text%2Fplain" rel="nofollow">window.extensions.mook.minimizetotray .trayCallback</a>&#8221;<br />
And it use following bind the <a href="http://www.mozdev.org/source/browse/minimizetotray/src/minimizetotray/content/minimizetotray/core.js?rev=1.20;content-type=text%2Fplain" rel="nofollow">callback function</a><br />
this.m_windowHider.minimize(baseWindows.length, baseWindows, null, this.trayCallback);<br />
This is the <a href="http://www.mozdev.org/source/browse/minimizetotray/src/minimizetotray/trayInterface.idl?rev=1.13;content-type=text%2Fplain" rel="nofollow">IDL define</a><br />
And you can look the <a href="http://www.mozdev.org/source/browse/minimizetotray/src/minimizetotray/trayWin32WindowHider.cpp?rev=1.17;content-type=text%2Fplain" rel="nofollow">minimize</a> function detail</p>
<p>Hope these helpful <img src='http://blog.lazytech.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dino</title>
		<link>http://blog.lazytech.info/2007/05/26/xpcom-javascript-function-call/comment-page-1/#comment-1435</link>
		<dc:creator>Dino</dc:creator>
		<pubDate>Thu, 09 Sep 2010 09:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lazytech.info/?p=34#comment-1435</guid>
		<description>I am having the problem as John encountered, I can only see &quot;undefined&quot; on the JavaScript alert box&quot;. Does anyone have idea why?</description>
		<content:encoded><![CDATA[<p>I am having the problem as John encountered, I can only see &#8220;undefined&#8221; on the JavaScript alert box&#8221;. Does anyone have idea why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kid.duo</title>
		<link>http://blog.lazytech.info/2007/05/26/xpcom-javascript-function-call/comment-page-1/#comment-18</link>
		<dc:creator>kid.duo</dc:creator>
		<pubDate>Thu, 09 Sep 2010 02:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lazytech.info/?p=34#comment-18</guid>
		<description>You can check out the Firetray&#039;s source code from google code.
Or browse it online via http://code.google.com/p/firetray/source/browse</description>
		<content:encoded><![CDATA[<p>You can check out the Firetray&#8217;s source code from google code.<br />
Or browse it online via <a href="http://code.google.com/p/firetray/source/browse" rel="nofollow">http://code.google.com/p/firetray/source/browse</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santa</title>
		<link>http://blog.lazytech.info/2007/05/26/xpcom-javascript-function-call/comment-page-1/#comment-17</link>
		<dc:creator>Santa</dc:creator>
		<pubDate>Thu, 09 Sep 2010 02:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lazytech.info/?p=34#comment-17</guid>
		<description>Do you have all the code?</description>
		<content:encoded><![CDATA[<p>Do you have all the code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.lazytech.info/2007/05/26/xpcom-javascript-function-call/comment-page-1/#comment-16</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 09 Sep 2010 14:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lazytech.info/?p=34#comment-16</guid>
		<description>thanks for the tip, that&#039;s really smart. I&#039;m now able to trig a js function from my c++ xpcom component. The only bug is that the parameter given to the callback are not correctly handled, ie they appears as &#039;undefined&#039; in the js function. Any idea?</description>
		<content:encoded><![CDATA[<p>thanks for the tip, that&#8217;s really smart. I&#8217;m now able to trig a js function from my c++ xpcom component. The only bug is that the parameter given to the callback are not correctly handled, ie they appears as &#8216;undefined&#8217; in the js function. Any idea?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.215 seconds -->
