设置窗口的默认字体.
GUISetFont (大小 [, 权值 [, 属性 [, 字体名 [, 窗口句柄[, 质量]]]] )
| 大小 | 字体大小(默认值为 8.5). | 
| 权值 | [可选参数] 字体权值(默认值为 400 = 正常). | 
| 属性 | [可选参数] 定义字体样式,斜体:2 下划线:4 删除线:8(可按需把对应数值加起来,比如 2+4 = 斜体,同时带有下划线). | 
| 字体名 | [可选参数] 字体名(若设为""或未发现目标字体则使用操作系统的默认 GUI 字体). | 
| 窗口句柄 | [可选参数] 窗口句柄,可由 GUICreate 的返回值获得(若缺省则使用上一次用过的句柄). | 
| 质量 | [可选参数] 选择字体质量 (默认(default)为 PROOF_QUALITY=2) | 
| 成功: | 返回值为1. | 
| 失败: | 返回值为0. | 
#include <GUIConstantsEx.au3>
Example()
Func Example()
    Local $font, $msg
    GUICreate("My GUI default font") ; will create a dialog box that when displayed is centered
    $font = "Comic Sans MS"
    GUISetFont(9, 400, 4, $font) ; will display underlined characters
    GUICtrlCreateLabel("underlined label", 10, 20)
    GUISetFont(9, 400, 2, $font) ; will display underlined characters
    GUICtrlCreateLabel("italic label", 10, 40)
    GUISetFont(9, 400, 8, $font) ; will display underlined characters
    GUICtrlCreateLabel("strike label", 10, 60)
    GUISetState()
    ; Run the GUI until the dialog is closed
    While 1
        $msg = GUIGetMsg()
        If $msg = $GUI_EVENT_CLOSE Then ExitLoop
    WEnd
EndFunc   ;==>Example