Jump to content

Recommended Posts

Posted

#include <GuiListView.au3>

GUICreate("Karteikarte",750,550)
GUICtrlCreateListView("",5,55,740,490,BitOR($LVS_SINGLESEL,$LVS_NOCOLUMNHEADER,$LVS_SHOWSELALWAYS))
_GUICtrlListView_SetExtendedListViewStyle(-1,BitOR($LVS_EX_LABELTIP,$LVS_EX_BORDERSELECT,$LVS_EX_GRIDLINES,$LVS_EX_FULLROWSELECT))
_GUICtrlListView_AddColumn(-1,"",50)
_GUICtrlListView_AddColumn(-1,"",150)
_GUICtrlListView_AddColumn(-1,"",250)
_GUICtrlListView_AddColumn(-1,"",270)

;_GUICtrlListView_EnableGroupView(-1)

GUICtrlSetFont(-1,9,1000)
For $i=1 To 100
    _GUICtrlListView_AddItem(-1,"")
Next

GUISetState()

While GUIGetMsg()<>-3
WEnd

.

the groupview seems to disable a bunch of styles. is there a documentation ?

anyone a workaround to get gridlines + group view ?

thx Edano

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

Posted

Hi,

Apparently no.

You should use the example provided for the _GUICtrlListView_EnableGroupView function than your code where there is nothing visible/concrete (and some magic numbers).

Br, FireFox.

Posted

yes my example is not well chosen. i noticed that. but you understood my question. thx.

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

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
  • Recently Browsing   0 members

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