Smitro Posted July 2, 2008 Share Posted July 2, 2008 Hi all, I have this code: $main_list = GUICtrlCreateList("", 32, 88, 153, 669, BitOR($LBS_STANDARD, $LBS_EXTENDEDSEL)) GUICtrlSetData(-1, "") For some reason these list boxes don't have scroll bars. And, if I take out the BitOR etc, I get them back? How do I get all this, and scroll bars? Link to comment Share on other sites More sharing options...
rasim Posted July 2, 2008 Share Posted July 2, 2008 SmitroThis?#include <ListBoxConstants.au3> #include <WindowsConstants.au3> GUICreate("Test", 300, 200) $List = GUICtrlCreateList("", 10, 10, 280, 180, BitOR($LBS_EXTENDEDSEL, $WS_VSCROLL, $WS_BORDER)) For $i = 1 To 20 GUICtrlSetData(-1, "String " & $i) Next GUISetState() Do Until GUIGetMsg() = -3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now