You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. click on the second column (combo) for only once
2. Do not click on the dropdown arrow and click the other column or row
3. AfxMessageBox(_T("strCell =0 ")); AfxMessageBox(_T("pComboEditor == NULL"));
What is the expected output? What do you see instead?
strCell and pComboEditor should not be NULL
What version of the product are you using? On what operating system?
VC2010 with Winxp SP3 English version, latest code from googlecode.
Please provide any additional information below.
Original issue reported on code.google.com by maplew...@gmail.com on 16 Oct 2012 at 2:09
MSDN (http://msdn.microsoft.com/en-us/library/windows/desktop/bb774814.aspx)
specifies that the LVN_ENDLABELEDIT notification will have the LVITEM member
pszText set to NULL if the user cancels editing, otherwise pszText is the
address of the edited text. Actually had another issue
(http://code.google.com/p/cgridlistctrlex/issues/detail?id=11) about this
initially wasn't working properly.
Also notice that LVITEM member lParam is set to the itemdata of item selected
in the ComboBox, so you don't have to perform any extra lookups to find this
value.
If you want get hold of the pointer to the dynamic created cell-editor, then
you should consider to inherit from CGridListCtrlGroups, and add a method
GetCellEditor(), that returns protected member variable m_pEditor. Instead of
the GetDlgItem(pDispInfo->hdr.idFrom), since in next release the idFrom will be
the m_ListCtrl.
Original comment by sweaty1 on 16 Oct 2012 at 8:32
Original issue reported on code.google.com by
maplew...@gmail.com
on 16 Oct 2012 at 2:09Attachments:
The text was updated successfully, but these errors were encountered: