highlight list control items using mouse
-
Hi all, if you open windows explorer (i am using winXP), and you try to highlight (select) some items with the mouse, there is only one column that if the selection rectangle passes it begins to highlight. i have a my inherite list control, but only the first column responds to this highlight...i need that the second column to respond and not the first... can any1 help? thanks in advanced Yaron
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
Hi all, if you open windows explorer (i am using winXP), and you try to highlight (select) some items with the mouse, there is only one column that if the selection rectangle passes it begins to highlight. i have a my inherite list control, but only the first column responds to this highlight...i need that the second column to respond and not the first... can any1 help? thanks in advanced Yaron
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
let the list control object be m_myListCtrl for full row select set the style as follows m_myListCtrl.SetExStyle( m_myListCtrl.GetExStyle() | LVS_EX_FULLROWSELECT); or m_myListCtrl.SetExStyle( m_myListCtrl.GetExStyle() | LVS_FULLROWSELECT); This will set full row selection.;P
Sunil