CListCtrl -Extend Selection Bar 
Author Message
 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 :)



Mon, 09 Jul 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. CListCtrl: Extend Selection Bar

2. CListCtrl Extended Selection w/ a mouse

3. Extended selection in CListCtrl and editing text in additional columns in VC50

4. CListCtrl Multiple vs Extended Selection

5. Customizing the Selection Bar on CListCtrl

6. CListBox (Extended style) - spoofing VK_CONTROL press to continue selection and other woes

7. ModifyStyle() fails to change list box from Extended to Single selection

8. CListCtrl Extended Style

9. Question of extend style CListCtrl

10. Extended styles for the CListCtrl class

11. CListCtrl with Extended Style

12. Selection bar list-control

 

 
Powered by phpBB® Forum Software