Jump to content
Sign in to follow this  

Listview inside a list view

Recommended Posts

Ok is it possible to have a list view with say 2 items in it and then another listview heeding indie it and then another 2 items below that:

OI have come up with a way around it but is there any better way.

heres my way around it:

#include <GUIConstants.au3>

$Form1 = GUICreate("OS shell", 633, 430, 193, 115, BitOR($WS_POPUP, $WS_CLIPSIBLINGS))
$startmenu = GUICtrlCreateListView("Applications                    ", 540, 3, 85, 70, $LVS_NOSORTHEADER, $SS_SUNKEN)
$systemmenu = GUICtrlCreateListView("System                           ", 540, 37, 85, 12, $LVS_NOSORTHEADER, $SS_SUNKEN)
GUICtrlCreateListViewItem("Paint", $startmenu)
GUICtrlSetImage(-1, "shell32.dll", -35)
GUICtrlCreateListViewItem("Notepad", $startmenu)
GUICtrlSetImage(-1, "shell32.dll", -71)
GUICtrlCreateListViewItem("", $startmenu)
GUICtrlCreateListViewItem("", $startmenu)
GUICtrlCreateListViewItem("Background", $startmenu)
GUICtrlSetImage(-1, "shell32.dll", -166)
GUICtrlCreateListViewItem("Shutdown", $startmenu)
GUICtrlSetImage(-1, "shell32.dll", -113)


While 1
$nMsg = GUIGetMsg()
Switch $nMsg


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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...