为GUI窗口设置背景颜色.
GUISetBkColor ( 背景色 [, 窗口句柄] )
背景色 | 对话框的窗口背景色. |
窗口句柄 | [可选参数] 窗口句柄,可由 GUICreate 的返回值获得(默认使用上一次用过的句柄). |
成功: | 返回 1. |
失败: | 返回 0. |
#include <GUIConstantsEx.au3>
Example()
Func Example()
Local $msg
GUICreate("My GUI") ; will create a dialog box that when displayed is centered
GUISetBkColor(0xE0FFFF) ; will change background color
GUISetState() ; will display an empty dialog box
; Run the GUI until the dialog is closed
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
EndFunc ;==>Example