找回密码
 加入
搜索
查看: 1779|回复: 1

[GUI管理] 按钮上如何加上同等大小的图片?

[复制链接]
发表于 2012-9-21 01:17:29 | 显示全部楼层 |阅读模式
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
Global $Form1 = GUICreate("Form1", 633, 340, -1, -1)
Global $Button1 = GUICtrlCreateButton("Button1", 24, 16, 121, 121)
Global $Button2 = GUICtrlCreateButton("Button2", 176, 16, 121, 121)
Global $Button3 = GUICtrlCreateButton("Button3", 328, 16, 121, 121)
Global $Button4 = GUICtrlCreateButton("Button4", 480, 16, 121, 121)
Global $Button5 = GUICtrlCreateButton("Button5", 24, 176, 577, 121)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit

        EndSwitch
WEnd



我想给每个按钮加上一个同等大小的图片,还有窗口如何半透明??

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2012-9-21 02:12:06 | 显示全部楼层
看看帮助你自会找到方法,或者参看安装包里的GUI例子 - V10.au3,你也会很有收获的。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-18 18:38 , Processed in 0.083906 second(s), 26 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表