
CListCtrl -Extend Selection Bar
says...
Quote:
> Hi Everyone,
> I too would like to extend the selection bar (across all subItems) on a
> ListCtrl... (I am a newbie) I have noted the comments made a few days ago on a
> similar posting, yet I have had little success....
> Is there something obviously wrong with the following?
> ( These are positioned in the OnInitDialog())
> m_pList = (CListCtrl*) GetDlgItem(IDC_LISTMEAS);
> m_pList->ModifyStyleEx(0,LVS_EX_FULLROWSELECT);
Yeah I had probs getting that to work too! Try this... (lose the header
drag drop flag if you dont want it)
ListView_SetExtendedListViewStyle(m_MyListCtrl.m_hWnd,
LVS_EX_FULLROWSELECT | LVS_EX_HEADERDRAGDROP);
Hope it helps!
--
No salesmen or religious callers thankyou :)