Jump to content

Help WIth List Veiw


Recommended Posts

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 by Venix
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...