Jump to content

WMP Weird


Recommended Posts

I find this weird, with WMP when you add the NoControls value it won't allow you to make the object the size you want but when you get rid of NoControls it allows you to make the object whatever size you want, but it doesn't allow the visualizations, please help me figure out how I can resize the object how much I want and keep the visualizations please.

[edited]

When I do use _WmpSetValue($WMP_Dub, "Controls") it shows the controls and visualizations like I want but there is no seek bar and I also can't have the object any size I want?

I don't know if it is just me being stupid here or Microsoft has failed once again.

#include <WMP.au3>
$GUI = GUICreate("Test", 500 , 500)
$WMP_Dub = _WmpCreate(1, 0, 0 , 300 , 300)
_WmpSetValue($WMP_Dub, "NoControls")
_WmpSetValue($WMP_Dub, "Cm")

_WmpLoadMedia($WMP_Dub , @ScriptDir & "\Led Zeppelin - Paranoid.mp3")
GUISetState(@SW_SHOW)

While 1
    $Msg = GUIGetMsg()
    Switch $Msg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd
Edited by JellyFish666
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...