Jump to content

How can I remove scroll bar from navigate objects

Recommended Posts

Ok I just need to take the scroll bars away from my objects...

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Xuxinha", 800, 600)
#EndRegion ### END KodaGUI section ###
$Obj = ObjCreate("Shell.Explorer.2")
$Obj2 = ObjCreate("Shell.Explorer.2")
$GX = GUICtrlCreateObj($Obj, 0, 0, 800, 250)
$GX2 = GUICtrlCreateObj($Obj2, 0, 350, 800, 250)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Edited by XuxinhaKill
Link to post
Share on other sites

I saw something like this before:

#include <IE.au3>
$oIE = _IECreateEmbedded()
$hGui = GUICreate('Test',800,600)
GUISetState(@SW_SHOW, $hGui)


Until Sleep(10) * GUIGetMsg()==-3

Func _HideScroll($Temp_Object)
Local $hText = 'var temp_h1 = document.body.clientHeight;'& _
'var temp_h2 = document.documentElement.clientHeight;'& _
'var isXhtml = (temp_h2<=temp_h1&&temp_h2!=0)?true:false;'& _
'var htmlbody = isXhtml?document.documentElement:document.body;'& _
'htmlbody.style.overflow = "hidden";'
Edited by MKISH


:bye: Hey there, was I helpful?


My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By MisterVSE
      Hello, AutoIt World.
      I was just starting to think about use of a Google Sheet for accessing and storing some data collected by an AutoIt Script program, and I see aroud many tips to navigate without mouse, but the basic I didn't see, that is: I want, for example, to Open the Spreadsheet and go to, example, Cell H120 ... How does it works, in Google Sheet using AutoIt?
    • By rcmaehl
      Hi all,
      I've recently be kinda forced into trying to learn OOP within AutoIt. I'm trying to convert XML into objects I guess instead of trying to parse it into arrays within arrays. An example is below:
      <User> <roles> <role>Agent</role> <role>Supervisor</role> </roles> </user>  
      How can I convert this? Would <roles> be $User.Roles? If so would the children be $User.Roles.Role.Agent and $User.Roles.Role.Supervisor?  If not, how do I reference each Object?
        Any assistance would be appreciated. I tried to understand XML.au3 but I'm so confused trying to wrap my head around this.
    • By rcmaehl
      Hi all,
      My work has recently switched from a Win32 based application to a web based application. Thankfully there's an API for me to attach to now but I have a few questions since I'm using Objects now for some parts of my scripts...
      Do I need to run ObjCreate("winhttp.winhttprequest.5.1") everytime before any object stuff or can I just run it once at the beginning of my script and reuse it? Is $oHTTP.Open("GET", <url>) followed by $oHTTP.Send() pretty much the same as INetRead and can I use them interchangeably? Do I need to somehow delete the Object after creating it at the end of my script? - Answered by Helpfile Thanks!
    • By jwhausk
      Hi, I would like a script to open Edge and navigate to 2 different pages
      Open Edge tab 1 www.MyHomePage.com,  Tab 2 www.google.com
      Thank you, John
    • By rootx
      is there any way to change the color of the scrollbar?
  • Create New...