Home > Software engineering > Double-click the ListControl blank position error: r6010 abort has had called
Double-click the ListControl blank position error: r6010 abort has had called
Time:10-20
Error trigger point is: double-click ListControl controls blank areas, but the strange thing is, all normal Windows 7, under win10 just complains,
Here is dedicated to deal with double click on the blank area code:
LPNMITEMACTIVATE pNMItemActivate=reinterpret_cast & lt; LPNMITEMACTIVATE> (pNMHDR); //TODO: add the control notification handler code Int nRow=m_testLC. GetNextItem (1, LVNI_SELECTED);
If (nRow==1) { return; }
Double click on the blank lines can catch under the Windows 7 event triggered by a mouse click, Win10 cannot capture, it should be said that doesn't trigger the double-click events, and error in transactions such as the title: termination is called!
I set the breakpoint in all methods (including redraw LC control), but can have no before the triggering error trigger these breakpoints,
At the same time, I also checked other bosses solution, I don't feel very suitable for me, the consult everybody, this is precisely what, thank you very much!!!!!!