已解决,分组控件滚动条无法使用
本帖最后由 潮州无极 于 2019-8-7 23:49 编辑#include <WinAPI.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GuiScrollBars.au3>
#include <ButtonConstants.au3>
Dim $VS = _WinAPI_GetSystemMetrics(2) ; SM_CXVSCROLL
Dim $HS = _WinAPI_GetSystemMetrics(3) ; SM_CYHSCROLL
Dim $CW = 700
Dim $CH = 400
Dim $GW = $CW + $VS
Dim $GH = $CH + $HS
Opt("GUICoordMode", 2)
GUICreate("", 760, 580)
Dim $hGUI = GUICtrlCreateGroup("", 30, 120, $GW, $GH, BitOR($WS_GROUP, $BS_GROUPBOX,$WS_VSCROLL))
GUISetState()
_GUIScrollBars_Init($hGUI)
_GUIScrollBars_SetScrollRange($hGUI, $SB_CTL, 10, 1)
While True
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
EndSwitch
WEnd
Exit
滚动条无法使用,怎么回事??求大神指点
Group带滚动条是什么鬼 要实现什么样的交互界面,画个草稿图传上来呗 能显示并不代表可用,Group用滚动条貌似没见过 感谢大神们的回复,问题已经解决了,感谢
页:
[1]