本帖最后由 babicy 于 2014-1-5 10:36 编辑 #include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
Dim $Button[4]
$Form1 = GUICreate("Form1", 395, 438, 192, 124)
$Group1 = GUICtrlCreateGroup("Group1", 56, 24, 273, 345, BitOR($GUI_SS_DEFAULT_GROUP,$WS_VSCROLL))
For $i=1 To 3
$Button[$i] = GUICtrlCreateButton("Button1", 104, 100*$i, 153, 41)
Next
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
新生成按钮控件不要跑到group外面,怎么才能固定在里面,如果按钮过多,滚动条就发生作用,这个要怎么去实现 |