添加图片无法显示手型与提示[已解决]
本帖最后由 依旧漂泊 于 2015-11-7 12:32 编辑GUICtrlCreateButton按钮能否设置为透明?
另加上图片无法无法显示手型与提示 #include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form2 = GUICreate('', 382, 290, @DesktopWidth / 2 + - 190, @DesktopHeight / 2 + - 165, $WS_POPUP, $WS_EX_TOOLWINDOW, WinGetHandle(AutoItWinGetTitle()))
$Pic = GUICtrlCreatePic(@TempDir & '\mm.jpg', 0, 0, 382, 290)
$Label1 = GUICtrlCreateLabel("加上图片无法显示手型与提示", 48, 88, 316, 33)
GUICtrlSetFont($Label1, 8, 400, -1, "MS Sans Serif")
GUICtrlSetColor($Label1, 0x3F3FE2)
GUICtrlSetTip(-1, "tip of my label")
GUICtrlSetBkColor($Label1, $GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetCursor($Label1, 0)
GUISetState(@SW_SHOW)
Sleep(5000) 回复 1# 依旧漂泊
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form2 = GUICreate('', 382, 290, @DesktopWidth / 2 + - 190, @DesktopHeight / 2 + - 165, $WS_POPUP, $WS_EX_TOOLWINDOW, WinGetHandle(AutoItWinGetTitle()))
$Pic = GUICtrlCreatePic(@TempDir & '\mm.jpg', 0, 0, 382, 290)
;插入
GUICtrlSetState($Pic, $GUI_DISABLE)
$Label1 = GUICtrlCreateLabel("加上图片无法显示手型与提示", 48, 88, 316, 33)
GUICtrlSetFont($Label1, 8, 400, -1, "MS Sans Serif")
GUICtrlSetColor($Label1, 0x3F3FE2)
GUICtrlSetTip(-1, "tip of my label")
GUICtrlSetBkColor($Label1, $GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetCursor($Label1, 0)
GUISetState(@SW_SHOW)
Sleep(5000) 代码不错学习了 回复 2# chzj589
谢谢,{:face (327):} 应该不错的啊,OK了
页:
[1]