Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   AutoIt (http://forum.oszone.net/forumdisplay.php?f=103)
-   -   [решено] Удаление полосы прокрутки в GUI (html-страница через GUICtrlCreateObj) (http://forum.oszone.net/showthread.php?t=200207)

sashadeg 22-02-2011 16:02 1619252

Удаление полосы прокрутки в GUI (html-страница через GUICtrlCreateObj)
 
Можно ли убрать эти 2 неактивные полосы прокрутки? Думал это Control-элемент... дак нет =(
Есть решение?

Код:

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>

$oIE = _IECreateEmbedded ()
$oIE2 = _IECreateEmbedded ()

GUICreate("", 500, 420,-1, -1)

GUICtrlCreateObj($oIE, 0, 0, 222, 418)
_IENavigate ($oIE, 'http://cache.www.gametracker.com/components/html0/?host=82.193.149.53:27025&bgColor=1F2642&fontColor=8790AE&titleBgColor=11172D&titleColor=FFFFFF&borderColor=333333&linkColor=FF9900&borderLinkColor=999999&showMap=1&currentPlayersHeight=100&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=250" frameborder="0" scrolling="no" width="250" height="412"')
GUICtrlCreateObj($oIE2, 223, 0, 222, 418)
_IENavigate ($oIE2, 'http://cache.www.gametracker.com/components/html0/?host=82.193.149.53:27026&bgColor=1F2642&fontColor=8790AE&titleBgColor=11172D&titleColor=FFFFFF&borderColor=333333&linkColor=FF9900&borderLinkColor=999999&showMap=1&currentPlayersHeight=100&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=250" frameborder="0" scrolling="no" width="250" height="412"')

GUISetState()

While GUIGetMsg() <> $GUI_EVENT_CLOSE
WEnd

Ахахаха! Сам решил проблему очень брутальным способом! Первую полоску закрыл вторым объектом, а вторую полоску спрятал за бордюром GUI
ЭВРИКА! :D

Creat0R 22-02-2011 22:31 1619594

sashadeg,
Тема решена?

sashadeg 23-02-2011 01:36 1619708

yes


Время: 17:08.

Время: 17:08.
© OSzone.net 2001-