Share via


MediaCenter.IsMCEEnabled Event

Raised when Windows Media Center loads an HTML page.

Note   This event has been deprecated.

Syntax

  IsMCEEnabled()

Remarks

This event enables an HTML page to specify whether it is designed to run in Windows Media Center. You should include a function in your page called IsMCEEnabled and have the function return true to indicate that it is designed to run under Windows Media Center. If the function does not exist or returns false, Windows Media Center displays the Not Designed for Windows Media Center dialog box when your page loads.

Requirements

Platform: HTML application hosted within Windows XP Media Center Edition 2004 through Windows Vista

See Also