LVS_EX_FULLROWSELECT Version 4.70. When an item is selected, the item and all its subitems are highlighted. This style is available only in conjunction with the LVS_REPORT style. // The pointer to my list view control. extern CListCtrl* pmyListCtrl;// Allow the header controls item to be movable by the user. pmyListCtrl->SetExtendedStyle (pmyListCtrl->GetExtendedStyle()|LVS_EX_FULLROWSELECT);
Version 4.70. When an item is selected, the item and all its subitems are highlighted. This style is available only in conjunction with the LVS_REPORT style. // The pointer to my list view control.
extern CListCtrl* pmyListCtrl;// Allow the header controls item to be movable by the user.
pmyListCtrl->SetExtendedStyle
(pmyListCtrl->GetExtendedStyle()|LVS_EX_FULLROWSELECT);
::SendMessage(m_listURL.m_hWnd, LVM_SETEXTENDEDLISTVIEWSTYLE,
LVS_EX_FULLROWSELECT, LVS_EX_FULLROWSELECT);
::SendMessage(mm_list.m_hWnd, LVM_SETEXTENDEDLISTVIEWSTYLE,
LVS_EX_FULLROWSELECT, LVS_EX_FULLROWSELECT);是对的