Share via


Windows Media Player 11 SDK Displaying Modal User Interfaces 

Windows Media Player SDK banner art

Previous Next

Displaying Modal User Interfaces

UI plug-ins should not display modal dialog boxes or message boxes in response to method calls from Windows Media Player. For example, do not display a message box from your implementation of IWMPPluginUI::Create.

If you must display a dialog box or message box from a UI plug-in method implementation that is called by the Player, you must follow these steps:

  1. Register a new window message using RegisterWindowMessage.
  2. Send the window message you registered to your UI plug-in window using PostMessage.
  3. Show the dialog box or message box from the message handler for your new window message.

See Also

Previous Next