[Project_owners] nsIAlertsSevice.showAlertNotification()

eric.jung at yahoo.com eric.jung at yahoo.com
Fri Jul 21 18:53:35 EDT 2006


What is commonDialog? Where is it used?


----- Original Message ----
From: Brian King <brian at mozdev.org>
To: Mozdev Project Owners List <project_owners at mozdev.org>
Sent: Friday, July 21, 2006 1:14:33 PM
Subject: Re: [Project_owners] nsIAlertsSevice.showAlertNotification()

Eric H. Jung wrote:
> Hi,
> 
> Does anyone know how to display multiple lines of alertText with
> nsIAlertsSevice.showAlertNotification()? I don't mean using
> alertTitle and alertText as two lines; I mean having two or three
> lines of alertText. I've tried separating lines with "\n" and also
> "\r\n" but these characters just show up as funny question marks.

commonDialog(.xul/.js) contructs separate lines based on \n input:

http://lxr.mozilla.org/mozilla/source/toolkit/content/commonDialog.js#126

I don't recall however, what call you need to do to invoke commonDialog.

-- 
Brian King
www.mozdev.org - free project hosting for the Mozilla community
_______________________________________________
Project_owners mailing list
Project_owners at mozdev.org
http://dev.org/mailman/listinfo/project_owners





More information about the Project_owners mailing list