Sign in to follow this  
Followers 0
Edano

can i have a listview with group view and gridlines ?

3 posts in this topic

#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]

Share this post


Link to post
Share on other sites



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.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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]

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  
Followers 0