wazer Posted June 26, 2012 Posted June 26, 2012 Hi im stuck on trying to zoom inside this gui, any experts on this area? expandcollapse popup#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> #include <WinAPI.au3> Opt("GUIResizeMode", $GUI_DOCKAUTO) _IEErrorHandlerRegister() Local $oIE = _IECreateEmbedded() GUICreate("Embedded Web control Test", 1500, 700, _ (@DesktopWidth - 1500) / 2, (@DesktopHeight - 700) / 2, _ $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN) GUICtrlCreateObj($oIE, 0, 20, 1500, 670) Local $GUI_Button_Home = GUICtrlCreateButton("Refresh", 0, 0, 1500, 20) GUISetState(@SW_SHOW) ;Show GUI _IENavigate($oIE, "ontv.dk/integration") sleep(2000) $o_tvfrontpage=_IEGetObjByName($oIE,'tvguideBtn') _IEAction($o_tvfrontpage,'click') _IELoadWait($oIE) ; Waiting for user to close the window While 1 Local $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_Button_Home _IEAction($o_tvfrontpage,'click') EndSelect WEnd GUIDelete() Exit
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now