关于gui的图片控件
为什么我用在GUICtrlCreatePic 在GUI上创建一个图片控件编译后在其他电脑上图片显示不出来呀 FileInstall('图片文件') 回复 2# afan还是不行吗
源码:#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
GUICreate("My GUI")
GUISetState(@SW_SHOW)
GUICtrlCreatePic("C:\Documents and Settings\Administrator\桌面\w.jpg", 16, 192, 33, 33)
FileInstall("C:\Documents and Settings\Administrator\桌面\w.jpg",@AppDataDir & "\ii.jpg")
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
wend #include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
FileInstall("C:\Documents and Settings\Administrator\桌面\w.jpg", @AppDataDir & "\ii.jpg")
GUICreate("My GUI")
GUISetState(@SW_SHOW)
GUICtrlCreatePic(@AppDataDir & "\ii.jpg", 16, 192, 33, 33)
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then
FileDelete(@AppDataDir & "\ii.jpg")
ExitLoop
Endif
WEnd 回复 4# afan
谢谢afan大哥
页:
[1]