AxWindowsMediaPlayer size in WPF applications

后端 未结 3 1791
耶瑟儿~
耶瑟儿~ 2021-01-23 10:12

I am using an AxWindowsMediaPlayer in a WindowsFormsHost in a WPF application.

I\'m having problems with sizing the control.

  1. I

3条回答
  •  感动是毒
    2021-01-23 10:52

    You have two options.

    1. Set uiMode to invisible and define your own buttons (functions are accesable like: axWindowsMediaPlayer.Ctlcontrols.stop();).
    2. Set uiMode to mini or full and set height 40. It leaves control without video visible (link: http://msdn.microsoft.com/en-us/library/windows/desktop/dd562469%28v=vs.85%29.aspx)

提交回复
热议问题