Jump to content

Ie 2.0 Embed Without Scroll Bars


Recommended Posts

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

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Link to comment
Share on other sites

Thanks a lot, that was perfect

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

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...