> but you could use a modal internal window as replacement: > http://demo.qooxdoo.org/current/sample/html/example/Window_1.html
Yep, it would be based on that. What's missing is the simple API. It would accept: - caption - icon (possibly none) to show, specified by simple constant - HTML formatted string to display - array of button text or constants for OK, Yes No etc - Default button number - completion callback function - see below. The original MessageBox API is at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/dialogboxes/dialogboxreference/dialogboxfunctions/messagebox.asp The only difficulty would be handling the modal aspect of it cleanly. It wouldn't be possible to make it stop code execution. Probably there would be a function passed in which is called when the user responds to the dialog. It would have an data event parameter, the data specifying the button which was pressed. Any more thoughts on this? Hugh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel