Using Media Center Dialog, DialogEx, and DialogNotification in HTML
The Software Development Kit for Windows XP Media Center Edition 2005 includes several enhancements for creating dialog boxes.
In addition to MediaCenter.Dialog (screenshot) we now have...
MediaCenter.DialogEx (screenshot) with support for custom buttons, images and the ability to call an event handler.
MediaCenter.DialogNotification (screenshot) allows the HTML application to show the Media Center equivalent of 'toast' (lightweight, modeless dialogs). This method also supports custom buttons, images and the ability to call an event handler.
These methods allow for flexible and elegant messaging within your Media Center hosted HTML application. In addition, the equivalent of all three are available to the new Media Center Add-Ins. (I'm not covering the Add In methods in this post, but will create if enough folks chime in and request).
Download the sample code from http://www.retrosight.com/mediacenter/samplecode/MediaCenter.Dialog.zip.