找回密码
 加入
搜索
查看: 1162|回复: 2

请问$iCommandID怎么能获取呢

[复制链接]
发表于 2009-4-27 14:46:17 | 显示全部楼层 |阅读模式
本帖最后由 dvcz38 于 2009-4-28 14:01 编辑

请问$iCommandID怎么能获取呢,这个在例子中总是看到,在帮助的例子中,$CommandID都是程序员在创建GUI的时候给定的,除了这个方法外还有其他方法吗?
    我是想实现点击toolbar工具栏上某个button,这要用到 _GUICtrlToolbar_ClickButton()函数,但我不知道怎么获得$iCommandID
    #Include <GuiToolBar.au3>
   _GUICtrlToolbar_ClickButton($hWnd, $iCommandID[, $sButton = "left"[, $fMove = False[, $iClicks = 1[, $iSpeed = 1]]]])
发表于 2009-4-27 15:16:32 | 显示全部楼层
_GUICtrlToolbar_IndexToCommand($hToolbar, 0)
 楼主| 发表于 2009-4-28 09:41:10 | 显示全部楼层
2# pusofalse


thx pusofalse
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-4-28 02:15 , Processed in 0.070950 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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