举报
#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> GUICreate('图片背景按钮例子') $Button1 = GUICtrlCreateButton('按钮', 150, 270, 100, 25) GUICtrlCreatePic(RegRead('HKLM\SOFTWARE\AutoIt v3\AutoIt', 'InstallDir') & "\Examples\GUI\msoobe.jpg", 0, 0, 400, 400, $WS_CLIPSIBLINGS, $GUI_WS_EX_PARENTDRAG) GUISetState() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit Case $Button1 MsgBox(0, 0, 'ok') EndSwitch WEnd
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-26 05:45 , Processed in 0.076241 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.