内嵌网页的问题
#NoTrayIcon#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseX64=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <GUIConstantsEx.au3>
#include <IE.au3>
#include <WindowsConstants.au3>
Local $oIE = _IECreateEmbedded()
GUICreate("Test", 800, 600, _
(@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
$WS_OVERLAPPEDWINDOW + $WS_CLIPSIBLINGS + $WS_CLIPCHILDREN)
$idButton_Message = GUICtrlCreateButton("聊天", 10, 0, 100, 30)
GUICtrlSetResizing(-1, $GUI_DOCKLEFT + $GUI_DOCKWIDTH + $GUI_DOCKHEIGHT)
$idButton_Home = GUICtrlCreateButton("主页", 120, 0, 100, 30)
GUICtrlSetResizing(-1, $GUI_DOCKLEFT + $GUI_DOCKWIDTH + $GUI_DOCKHEIGHT)
GUICtrlCreateObj($oIE, 0, 40, 800, 580)
GUICtrlSetResizing(-1, $GUI_DOCKLEFT + $GUI_DOCKTOP + $GUI_DOCKBOTTOM)
_IENavigate($oIE, "http://dhxy.163.com/web/",1)
GUISetState(@SW_SHOWMAXIMIZED)
While 1
Local $iMsg = GUIGetMsg()
Select
Case $iMsg = $GUI_EVENT_CLOSE
ExitLoop
Case $iMsg = $idButton_Home
_IENavigate($oIE, "http://dhxy.163.com/web/",1)
; Case $iMsg = $idButton_Message
EndSelect
WEnd
GUIDelete()
Exit
我想只把如图所示的游戏窗口的主体内嵌进去,可是按照目前的这种办法是把整个网页内嵌进去了,希望大家帮忙指点下,谢谢 手游的没怎么研究过,反正以前页游的话,你找到页游的真实地址内嵌就没啥问题! 自己调整限制页面大小估计可以的。
页:
[1]