Jump to content

zoom inside my gui


Recommended Posts

Hi im stuck on trying to zoom inside this gui, any experts on this area?

#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
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
 Share

×
×
  • Create New...