本帖最后由 afan 于 2010-3-30 19:01 编辑 #include <WindowsConstants.au3>
#include <IE.au3>
$Form1 = GUICreate('', 205, 225, @DesktopWidth - 210, 32, $WS_BORDER + $WS_POPUP, $WS_EX_TOOLWINDOW + $WS_EX_LAYERED, WinGetHandle(AutoItWinGetTitle()))
GUISetBkColor(0xABCDEF)
DllCall("user32.dll", "int", "SetLayeredWindowAttributes", "hwnd", $Form1, "long", 0xABCDEF, "byte", 255, "long", 0x1 + 0x2)
GUICtrlCreateLabel('', 0, 5, 205, 20)
GUICtrlCreateLabel('', 0, 50, 205, 225)
$oIE = _IECreateEmbedded()
GUICtrlCreateObj($oIE, -10, -15, 250, 320)
_IENavigate($oIE, '')
_IEBodyWriteHTML($oIE, '<iframe src="http://www.thinkpage.cn/weather/weather.aspx?uid=&c=CHXX0008&l=zh-CHS&p=CMA&a=0&u=C&s=1&m=1&x=1&d=3&fc=&bgc=&bc=&ti=1&in=1&li=2" frameborder="0" scrolling="no" width="200" height="260" allowTransparency="true"></iframe>')
GUISetState()
While 1
Sleep(10)
WEnd
|