Page 1 of 1

Not-noobish media player :)

Posted: Fri Jan 21, 2011 7:39 pm
by Axel
i saw theres no tutorial about this :P
Hi , if someone wonders, theres a better trick than hiding the windows media player controls with a panel or something , theres a better method

So you add the control(Toolbox=>rightclick=>Add=>Com=>Windows Media Player) to your form and on the form_load event you add this code
Code: Select all
MediaPlayer.uimode = "none"
then you'll get something like this
Capture.PNG

Re: Not-noobish media player :)

Posted: Fri Jan 21, 2011 7:42 pm
by dj1437
or you can just right click the axwindowsmediaplayer and go to Properties and select the none style :P

Re: Not-noobish media player :)

Posted: Fri Jan 21, 2011 7:43 pm
by Axel
dj1437 wrote:
or you can just right click the axwindowsmediaplayer and go to Properties and select the none style :P
thats what I forgot to mention, I tried to change that in properties but the property dissapears when debugging/building

Re: Not-noobish media player :)

Posted: Fri Jan 21, 2011 10:12 pm
by Runar
I made a simple media player just to test this.

Source:
Medi4.zip

Re: Not-noobish media player :)

Posted: Sat Jan 22, 2011 4:57 am
by Usman55
By using this and disabling contextmenu, we can make it look as a non-wmp media player.

Re: Not-noobish media player :)

Posted: Sat Jan 22, 2011 5:13 am
by GoodGuy17
I remember talking about this with someone, just can't remember who...
But, Runar, how did you make the listbox do that? Was it a flash animation, and after the flash animation finished, it showed the listbox and unshowed the flash animation? Or how did you do that? It was a perfect execution of the trick shown here. Nice tip, Axel! cooll;

Re: Not-noobish media player :)

Posted: Sun Feb 06, 2011 9:18 am
by MrAksel
GoodGuy17, i guess he used a timer to first increase the widht, then the height and then the rest of it

Re: Not-noobish media player :)

Posted: Sun Feb 06, 2011 9:31 am
by jtlusco
iv used this method before but the controls came back when i ran the program i never found out if it was a windows 7 thing or what but yeah thats soposed to work lol