<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Andreas Pakulat wrote:
<blockquote cite="mid20090822125130.GA13728@barmbek" type="cite">
<pre wrap="">On 22.08.09 17:54:33, Sundaram wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Dear Sir,
I am developing a plugin for firefox browser. I am using
XPCOM to interact with the browser. In have to get the input from
the user in a Dialog window. I have to show the dialog as modal
dialog. How do i do this?
Please help me
</pre>
</blockquote>
<pre wrap=""><!---->
You've picked the wrong list to send to. This list is about development
of KDevelop the IDE. If you have questions about firefox I suggest you
look for help on <a class="moz-txt-link-abbreviated" href="http://www.mozilla.com/firefox">www.mozilla.com/firefox</a>
Andreas
</pre>
</blockquote>
Dear Andreas Pakulat, <br>
<br>
Thanks you verymuch for your reply. Actually i am developing
a plugin component for firefox using the XPCOM technology. I windows OS
, i have done using the ActiveX technology. I will tell you what i
have done in Windows. <br>
<br>
In Windows. <br>
I have created a activex dll which will be registered in the
client's computer. Whenever the user go to my web application page, in
the button click event i will create object for my activex component
and i will call a function in the dll. I used VS 6.0 for development.
Inside that function i have created a dialogbox and show that dialog
box to the user. It is a modal dialog box. The Internet Explorer will
be the parent window for my dialog. To get the Internet Explorer window
handle, i used GetForegroundWindow() function avaible in the Win32 API.
Once i get the IE' window handle, i will set this handle as my parent
window of my dialogbox. Now I need to achive this in Linux. <br>
<br>
In Linux : <br>
<br>
XPCOM is the equivalent for the ActiveX. I am able to create
a .so file using XULRunner SDK and able to call the function via
firefox browser. I have created a small function which will return a
string to the calling function. Every thing is working fine. Now the
next step is, I need to create a dailogbox inside my function, and need
to show my dialogbox as a modal window of the firefox browser. To
create dialogbox i am using the KDevelop IDE. Is there any function
like GetForegroundWindow like in Win32API for Linux? Hope now you
understand my problem. <br>
<br>
<br>
Please help me <br>
<br>
Thanks & Regards<br>
Sundaram. D<br>
<br>
</body>
</html>