How to show the headers of the columns, but not allow to resize?
I need because I load in a listview a dataset with the primary key placed in a column, and I don't want this to appear...
Thx,
Xmas
Printable View
How to show the headers of the columns, but not allow to resize?
I need because I load in a listview a dataset with the primary key placed in a column, and I don't want this to appear...
Thx,
Xmas
You should override WndProc of listview.
look here for details:
http://groups.google.com/groups?hl=e...tnet%2BWndProc
Wow! Thanks! It took me a bit to understand how to make it working, but at least ;)
some ages ago I nearly killed myself to figure out when a listview column is resized, and I never found the answer. AAAh I wish someone had posted this earlier.... still useful, thanks for the post :)Quote:
Originally posted by Lunatic3
You should override WndProc of listview.
look here for details:
http://groups.google.com/groups?hl=e...tnet%2BWndProc
Your most welcome :)
Your thanks should go to Google ;)