Im trying to make a listview like the 1 below:
http://www.c-sharpcorner.com/1/ListViewInCSharp.asp
The code they provide is in C# and im trying to do it in C/C++, i managed to create the control, but i have a few questions:
1) The author of the above link says:
Is this true? i dont understand why you cant select an entire row in C/C++...Also, you can now, set the ListView to select an entire row in report mode, something that in Visual C++ you had to write a whole custom ListView control to do.
2) He also says, notice the nice grid lines, how can i add grid lines to the control i have created, do i need to create it with some sort of WM_EX_GRIDLINES style or something like that? Or would i need to subclass the control and handle the painting?
3) Ive looking through the entire documentation for listview controls and i cant seem to find anything that returns the column count.. I googled it and all i get is examples in C#
Anyway, all help would be appreciated.. And if possible, im trying to do this without MFC..
Thanks in advance