本帖最后由 maxkingmax 于 2009-12-18 12:44 编辑 #include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 412, 103, 316, 305)
$Input1 = GUICtrlCreateInput("Input1", 74, 29, 161, 21)
$Label1 = GUICtrlCreateLabel("钱呀:", 22, 31, 40, 17)
$Label2 = GUICtrlCreateLabel("Label2", 76, 50, 164, 1, BitOR($SS_CENTER,$SS_RIGHT,$SS_BLACKRECT,$SS_GRAYRECT,$SS_WHITERECT,$SS_BLACKFRAME))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
嫌细可以加粗为高度2:
$Label2 = GUICtrlCreateLabel("Label2", 76, 50, 164, 2, BitOR($SS_CENTER,$SS_RIGHT,$SS_BLACKRECT,$SS_GRAYRECT,$SS_WHITERECT,$SS_BLACKFRAME)) |