PDA

Показать полную графическую версию : [решено] Удаление полосы прокрутки в GUI (html-страница через GUICtrlCreateObj)


sashadeg
22-02-2011, 16:02
Можно ли убрать эти 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
sashadeg,
Тема решена?

sashadeg
23-02-2011, 01:36
yes




© OSzone.net 2001-2012