please help on CListCtrl and LVN_BEGINLABELEDIT
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I add a CListCtrl control to my dialog app. I want to edit its sub item, so I add handler for LVN_BEGINLABELEDIT. In the function, I have the following: ..... CEdit *pEdit = my_listCtrl.GetEditControl(); if ( pEdit ) { pEdit->SetWindowPos(&wndTop, subRect.left, subRect.top, subRect.Width(), subRect.Height(), SWP_NOZORDER | SWP_NOSENDCHANGING); } .... but although I specified SWP_NOSENDCHANGING, windows still put the edit control over the LABEL area of the list control. How can I position the edit control at the position specified? Thank you for any help!