ChaosCookie Posted May 29, 2009 Share Posted May 29, 2009 (edited) Hey, I want to hide the vertical scroll bar of my listview! since just hiding the vertical bar with EnableScrollBar didn seem to work, I tried it with the Style $LVS_NOSCROLL and _GUIScrollBars_EnableScrollBar(GuiCtrlGethandle($ListView),$SB_Horz, $ESB_ENABLE_BOTH).. But now I gotta little weird white square on my listview and everything is flickering like hell... anybody knows what to do? or another way to hide the bar? Edited May 29, 2009 by ChaosCookie Link to comment Share on other sites More sharing options...
Authenticity Posted May 29, 2009 Share Posted May 29, 2009 #include <File.au3> #include <GUIListView.au3> Global $hGUI, $hListView Global $aLines $hGUI = GUICreate('Title', 400, 200) $hListView = GUICtrlGetHandle(GUICtrlCreateListView('Test', 0, 0, 400, 200, BitOR($LVS_SINGLESEL, $LVS_SHOWSELALWAYS, $LVS_REPORT, $LVS_NOSCROLL), BitOR($LVS_EX_DOUBLEBUFFER, $LVS_EX_GRIDLINES))) _GUICtrlListView_SetColumnWidth($hListView, 0, 400) _FileReadToArray(@ScriptFullPath, $aLines) For $i = 1 To $aLines[0] _GUICtrlListView_InsertItem($hListView, $aLines[$i]) Next GUISetState() Do Until GUIGetMsg() = -3 _GUICtrlListView_Destroy($hListView) GUIDelete() Exit 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