Jump to content

2 List Drop and Drag


Smitro
 Share

Recommended Posts

Hi all,

I want to be able to have one main list and be able to move some items to another list. So far I only have 2 but the idea will be to sort a huge list into about 5 lists.

If there is any simpler way for this to be done let me know. The Lists just represent groups, I was wondering if maybe the try view might be a cleaner way.. but I'm not sure how to do that either.

This is my code so far:

#include <GUIConstants.au3>
#include <ListviewConstants.au3>


#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 625, 445, 193, 125)
$ListView1 = GUICtrlCreateListView("List 1", 32, 24, 100, 385, BitOR($LVS_REPORT,$LVS_SHOWSELALWAYS, $LVS_NOSORTHEADER))
$ListView2 = GUICtrlCreateListView("List 2", 232, 24, 100, 385, BitOR($LVS_REPORT,$LVS_SHOWSELALWAYS, $LVS_NOSORTHEADER))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

$item1 = GUICtrlCreateListViewItem("something1", $ListView1)
$item2 = GUICtrlCreateListViewItem("something2", $ListView1)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd
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...