Share via


Dialog Boxes

You can display Windows Media Center-style dialog boxes using the MediaCenterEnvironment.Dialog method (for managed code applications) and the MediaCenter.Dialog method (for hosted HTML applications). Windows Media Center dialog boxes are specially designed to integrate with the Windows Media Center user experience and should be used instead of standard Windows dialog boxes.

You can specify which buttons to place on the dialog box (any combination of OK, Cancel, Yes, and No) depending on the situation.

Although you can specify any combination, it is best to avoid the following combinations because they may be unclear to the user:

  • OK, Yes
  • OK, Cancel, Yes
  • No, Cancel
  • OK, Yes, No
  • OK, Yes, No, Cancel
  • Yes
  • No

See Also