diff --git a/Source/MFCDialog/PropertyList.cpp b/Source/MFCDialog/PropertyList.cpp index 60c560f01..0371cb51a 100644 --- a/Source/MFCDialog/PropertyList.cpp +++ b/Source/MFCDialog/PropertyList.cpp @@ -578,7 +578,7 @@ void CPropertyList::OnMouseMove(UINT nFlags, CPoint point) { BOOL loc; int curSel = ItemFromPoint(point,loc); - if(!loc) + if(!loc && curSel < 65535) { CPropertyItem* pItem = (CPropertyItem*) GetItemDataPtr(curSel); m_CMakeSetupDialog->SetDlgItemText(IDC_PROGRESS, pItem->m_HelpString);