Development of Windows Media Player for mobile

Source: Internet
Author: User

Windows Media Player for mobile is provided as a control, but it cannot be directly loaded in Windows 32 or MFC. It can be directly loaded only in ATL.

If WMP is called in window32 or MFC, an ATL container form caxwindow will be loaded to load the mobile control.

 

Caxwindow wndwmp;

Getclientrect (hwnd, & rc );

Wndwmp. Create (hwnd, RC, _ T ("{6bf52a52-394a-11d3-b153-00c04f79faa6}"), ws_visible | ws_child, ws_ex_1_wedge );

In addition, if you want to monitor Windows Media Player events, you must inherit the iwmpevent interface and implement interface functions. Related demos are available in wmpsdk.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.