Venix Posted May 23, 2012 Posted May 23, 2012 (edited) Hey, I am using list veiw to display customer details in an application however, i want to make it so that the user can't drag the columns and change the width and i want to be able to set a specific collumn width that loads each time. Is this possbile with this control? #include <GUIConstantsEx.au3> #include <ListViewConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $DatabaseForm = GUICreate("Customer Database", 552, 474, 191, 124) $Database = GUICtrlCreateListView("Row|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17",8, 8, 535, 417, BitOR($GUI_SS_DEFAULT_LISTVIEW, $LVS_NOSORTHEADER),$LVS_EX_GRIDLINES) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Edit: Might not reply to this thread until later, Edited May 23, 2012 by Venix
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