Jump to content
Sign in to follow this  

How to get colum header name from a Listview

Recommended Posts



I'm almost sure this topic had already been posted but I didn't find it in forum.

My purpose is to retrieve a list of colum names from a listview.

I know the function to set header column header i.e _GUICtrlListViewSetColumnHeaderText but I'm looking for a fonction like this

_GUICtrlListViewSetColumnHeaderText ( $h_listview, [$i_col = -1])


$h_listview control id/control hWnd

$i_col [optional] Zero based index of column

Return Value

Return the name of specified column

if $i_col = -1 then return the whole header. Ex: col1|col2|col3...

Any suggestions ?

Thank you.

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.