Sign in to follow this  
Followers 0
james3mg

disable embeded IE scroll bars

3 posts in this topic

I'm trying to create a GUI which shows a part of a certain webpage. I followed the GUICtrlCreateObj() example in the help file, and managed to create a GUI which shows the top 640x250 pixels of the page (fortunately the part I want :o ). However, I don't want to see the scroll bars that appear since I'm only showing part of the page. The COM stuff is way beyond me. I couldn't find any reference to shell.explorer.2 scroll bars in the forums, and I couldn't even decipher most of what I found on Google when I searched for shell.explorer.2 scroll bars. Can anyone just give me the function/property or whatever I need to make the scroll bars not show up (similar to <body scroll=no> in HTML), or information on how to find this property/function?

Thanks so much - sorry for being a freeloader on this one.


"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110

Share this post


Link to post
Share on other sites



I'm trying to create a GUI which shows a part of a certain webpage. I followed the GUICtrlCreateObj() example in the help file, and managed to create a GUI which shows the top 640x250 pixels of the page (fortunately the part I want :o ). However, I don't want to see the scroll bars that appear since I'm only showing part of the page. The COM stuff is way beyond me. I couldn't find any reference to shell.explorer.2 scroll bars in the forums, and I couldn't even decipher most of what I found on Google when I searched for shell.explorer.2 scroll bars. Can anyone just give me the function/property or whatever I need to make the scroll bars not show up (similar to <body scroll=no> in HTML), or information on how to find this property/function?

Thanks so much - sorry for being a freeloader on this one.

see here

$oIE.document.body.scroll = "no"

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Man, missed that one! Thanks :o

$oIE.document.body.scroll = "no"

Right out of Javascript, huh? That'll give me a place to start from now on. Thanks a lot again!

Edited by james3mg

"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110

Share this post


Link to post
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
Sign in to follow this  
Followers 0