Jump to content
Sign in to follow this  

2 List Drop and Drag

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))
#EndRegion ### END Koda GUI section ###

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

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


Share this post

Link to post
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

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.