ENH: add status bar and help for items

This commit is contained in:
Bill Hoffman 2002-12-05 15:54:23 -05:00
parent e61df962a6
commit 11e80e2611

View File

@ -578,7 +578,7 @@ void CPropertyList::OnMouseMove(UINT nFlags, CPoint point)
{ {
BOOL loc; BOOL loc;
int curSel = ItemFromPoint(point,loc); int curSel = ItemFromPoint(point,loc);
if(!loc) if(!loc && curSel < 65535)
{ {
CPropertyItem* pItem = (CPropertyItem*) GetItemDataPtr(curSel); CPropertyItem* pItem = (CPropertyItem*) GetItemDataPtr(curSel);
m_CMakeSetupDialog->SetDlgItemText(IDC_PROGRESS, pItem->m_HelpString); m_CMakeSetupDialog->SetDlgItemText(IDC_PROGRESS, pItem->m_HelpString);