主界面有控件 一页显示不完,如何能让主界面能滚动? AU3自己改样式的话 能有滚动条,但不能用啊
我记得以前有人发过,能滚动界面的代码,可惜找不到了
此无用窗口代码
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 313, 181, 381, 253, BitOR($WS_MINIMIZEBOX,$WS_SYSMENU,$WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_GROUP,$WS_VSCROLL,$WS_BORDER,$WS_CLIPSIBLINGS))
$Button1 = GUICtrlCreateButton("Button1", 64, 48, 129, 33, 0)
$Group1 = GUICtrlCreateGroup("Group1", 48, 24, 321, 281)
$Button2 = GUICtrlCreateButton("Button2", 72, 104, 113, 33, 0)
$Button3 = GUICtrlCreateButton("Button3", 72, 152, 121, 49, 0)
$Button4 = GUICtrlCreateButton("Button4", 216, 56, 97, 33, 0)
$Button5 = GUICtrlCreateButton("Button5", 216, 104, 97, 49, 0)
$Button6 = GUICtrlCreateButton("Button6", 216, 168, 105, 49, 0)
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
[ 本帖最后由 YGYL 于 2008-12-14 23:40 编辑 ] |