m_list1.SetExtendedStyle(LVS_EX_GRIDLINES|LVS_EX_FULLROWSELECT);
[LVS_EX_GRIDLINES] :
Displays gridlines around items and subitems. This style is available only in conjunction with the LVS_REPORT style.
[LVS_EX_FULLROWSELECT] :
When an item is selected, the item and all its subitems are highlighted. This style is available only in conjunction with the LVS_REPORT