What is commonDialog? Where is it used?
----- Original Message ---- From: Brian King <[EMAIL PROTECTED]> To: Mozdev Project Owners List <[email protected]> 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 [email protected] http://dev.org/mailman/listinfo/project_owners _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
