Jump to content

Recommended Posts

Posted (edited)

This is probably a simple thing but I have no idea how to do it.

I get vetical scroll bars everytime.

here is my code:

#include <GUIConstants.au3>
#include <IE2.au3>
Func _MediaEmbed($top, $left, $file, $width = 200, $height = 200, $type="music" )
$embed = _IECreateEmbedded()
$window = GUICtrlCreateObj($embed, $top, $left, $width, $height)
_IENavigate ( $embed, "about:blank" )


EndFunc

GUICreate("Embedded Web control Test", 640, 580, (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$song = "C:\Documents and Settings\war_driver\My Documents\My Music\Get More with Jukebox Plus.mp3"
$WM = _MediaEmbed(0, 0, $song, 200, 200)
GUISetState()
Sleep(3000)

please help, Thanks guys

Edited by zerocool60544
Check out ConsultingJoe.com

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
×
×
  • Create New...