找回密码
 加入
搜索
查看: 1405|回复: 4

请教滚动条能否改变颜色?

[复制链接]
发表于 2009-2-10 18:51:31 | 显示全部楼层 |阅读模式
请教能否改变滚动条的颜色?
要如何改变?
发表于 2009-2-10 19:04:50 | 显示全部楼层
GUICtrlSetColor
发表于 2009-2-10 19:23:33 | 显示全部楼层
DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 1)
GUICreate("Form1", 625, 445)
$Progress1 = GUICtrlCreateProgress(56, 304, 417, 41)
GUICtrlSetColor(-1, 0x000000)
GUICtrlSetBkColor(-1, 0xFFFFFF)
GUISetState(@SW_SHOW)
For $i = 0 To 100 Step 0.5
        Sleep(100)
        GUICtrlSetData($Progress1, $i)
Next
 楼主| 发表于 2009-2-10 19:40:37 | 显示全部楼层
谢谢,不过这个是进度条,不是滚动条!!
发表于 2009-2-10 20:55:01 | 显示全部楼层
似乎没有,滑动条没有单独的设置项
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-23 07:33 , Processed in 0.069506 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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