Re: Help: Dialog box

Daniel Veditz <[email protected]> Wed, 17 Nov 2004 11:11:16 -0800
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
yueweng wrote:
> I have created a xpcom component (using c++) that will run when
> mozilla start.  However, I need to pop up a dialog box or window with
> some buttons in it at some occassion.
> 
> Does any one knows what should I do to at least create a dialog box or
> window?  Can I avoid XUL?  Which source file under mozilla src tree is
> the relevant one that I should refer?

You cross-posted to .embedding, if you're a native embedding app then just
use whatever OS API calls you like to create a dialog.

If you're trying to do this strictly with cross-platform Mozilla services
then you've got a choice of the simple nsIPrompt dialogs or going with XUL.