Modifying properties of ActiveX control thru other code

Discussion in 'Windows Media Player' started by Warrick Wilson, Aug 6, 2003.

  1. I've got a Delphi 5 program that has an embedded ActiveX WMP9 control to
    play back MPEGs, AVIs, etc.

    I'd like to make the control ignore aspect ratio - if I give a 320x240 video
    clip a 400x200 box to play in, I'd like it to fill that box - stretch to the
    left and right, and scrunch down in height.

    I've fooled around before with DirectX, and at one point had created a
    separate control that set the aspect ratio control to ignore.

    Is there a way to do this for the embedded ActiveX WMP9 control? Is there
    some other setting that would cause the control to fill the available space,
    and not maintain the aspect ratio?

    Warrick Wilson, Aug 6, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.