OnLvnEndlabeledit
-
using the class wizard i added the following function for a class derived from CListCtrl. When i rename the lable i want that to be displayed there after. If i could get the text, row and column i can use SetItemText function. What are these parameters(NMHDR *pNMHDR, LRESULT *pResult) and what does they contain.
void CWifiMdsView::OnLvnEndlabeledit(NMHDR *pNMHDR, LRESULT *pResult) { NMLVDISPINFO *pDispInfo = reinterpret_cast(pNMHDR); // TODO: Add your control notification handler code here *pResult = 0; }
Thanks a lot.
-
using the class wizard i added the following function for a class derived from CListCtrl. When i rename the lable i want that to be displayed there after. If i could get the text, row and column i can use SetItemText function. What are these parameters(NMHDR *pNMHDR, LRESULT *pResult) and what does they contain.
void CWifiMdsView::OnLvnEndlabeledit(NMHDR *pNMHDR, LRESULT *pResult) { NMLVDISPINFO *pDispInfo = reinterpret_cast(pNMHDR); // TODO: Add your control notification handler code here *pResult = 0; }
Thanks a lot.
karmendra_js wrote: What are these parameters(NMHDR *pNMHDR, LRESULT *pResult) and what does they contain. Check the documentation for the LVN_ENDLABELEDIT Notification[^] -- jlr http://jlamas.blogspot.com/[^]