请问如何修改Gui控件的背景颜色?

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 请问如何修改Gui控件的背景颜色?

Re: 请问如何修改Gui控件的背景颜色?

Post by youwantme » 30 May 2015, 19:12

谢谢,看来很复杂
tmplinshi wrote:某些控件如 ListView 可以用 BackgroundRRGGBB 或者 Background颜色名称(例如 BackgroundRed)
Gui, Add, ListView, Background00FF00

大部分控件都没有直接的方法,可借助下面两个函数:
CtlColors -> http://ahkscript.org/boards/viewtopic.php?f=6&t=2197
ImageButton -> http://ahkscript.org/boards/viewtopic.php?f=6&t=1103

Re: 请问如何修改Gui控件的背景颜色?

Post by tmplinshi » 30 May 2015, 05:13

某些控件如 ListView 可以用 BackgroundRRGGBB 或者 Background颜色名称(例如 BackgroundRed)
Gui, Add, ListView, Background00FF00

大部分控件都没有直接的方法,可借助下面两个函数:
CtlColors -> http://ahkscript.org/boards/viewtopic.php?f=6&t=2197
ImageButton -> http://ahkscript.org/boards/viewtopic.php?f=6&t=1103

请问如何修改Gui控件的背景颜色?

Post by youwantme » 30 May 2015, 01:03

谢谢!!

Top