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

  • Create New...