How does CListCtrl notify its parent window when a cell content has changed?
-
This message will not be sent, when i use SetItemText to change the item text. I want the parent to be notified when SetItemText is called, because I don't call SetItemText in CListCtrl's parent.
followait wrote: when i use SetItemText to change the item text. Look for LVN_ITEMCHANGED or LVN_ITEMCHANGING message
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
followait wrote: when i use SetItemText to change the item text. Look for LVN_ITEMCHANGED or LVN_ITEMCHANGING message
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
I tried, but it didn't work. There is no LVN_ITEMCHANGED or LVN_ITEMCHANGING when SetItemText is called.
Hi, the CListCtrl is in a dialog? Have you create a dialog member function for this CListCtrl (e.g. OnItemchangedMyCListCtrl)? (This is OK at my projects) Or have you the dialog member function "PreTranslateMessage" and look for the LVN_ITEMCHANGED message? Greetings Frank