Windows XP Media Center Edition SDK HostControl.ReturnToApplication Method
![]() |
| Previous | Next |
HostControl.ReturnToApplication Method
Returns control to the HTML application corresponding to the add-in that calls this method.
Parameters
This method takes no parameters.
Return Value
This method does not return a value.
Remarks
An application that plays video in full-screen mode can use this method to regain the focus after full-screen playback concludes.
Before calling this method, use the ApplicationInfo.IsForegroundApplication property to determine whether the HTML application is being displayed, and the MediaExperience.IsFullScreen property to determine whether the current media is in full-screen mode.
This method is intended to be used by a background add-in that has a corresponding HTML application.
Requirements
Reference: Microsoft.MediaCenter.dll
Namespace: Microsoft.MediaCenter.AddIn
Assembly: Microsoft.MediaCenter.dll
Platform: Windows XP Media Center Edition 2005
See Also
- ApplicationInfo.IsForegroundApplication Property
- HostControl Interface
- MediaExperience.IsFullScreen Property
| Previous | Next |
.jpg)