Windows Media Player ?????

xiaoxiao2021-03-06  21

I introduce Windows MediaPlayer 10.0 to my program, but the control cannot be automatically followed by changes in Delphi 7, and there is a good solution. I am using it! !

I tried to write code in the resize event of the form, but still can't change. The program code is as follows:

Procedure TForm1.FormResize (Sender: Tobject); Begin if sender = form1 the beginning of sendowsmediaplayer1.Height: = form1.height-10; windowsmediaplayer1.width: = form1.width-10; end; end;

I also tried using WindowsMediaPlayer: ClientToparent (), but I don't know how to use it?

There are other better ways (don't use third-party controls)? ? ?

转载请注明原文地址:https://www.9cbs.com/read-43510.html

New Post(0)