diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-05 20:48:03 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-05 20:48:03 (GMT) |
commit | e61df962a645d1ec61dc8679fe4e05ce427bb8f4 (patch) | |
tree | 6200ac261b86793ea6ba46e34f047612c5ce2614 /Source/MFCDialog/PropertyList.cpp | |
parent | 7985bc118e336010a5b840ca3c326287649a463c (diff) | |
download | CMake-e61df962a645d1ec61dc8679fe4e05ce427bb8f4.zip CMake-e61df962a645d1ec61dc8679fe4e05ce427bb8f4.tar.gz CMake-e61df962a645d1ec61dc8679fe4e05ce427bb8f4.tar.bz2 |
ENH: add status bar and help for items
Diffstat (limited to 'Source/MFCDialog/PropertyList.cpp')
-rw-r--r-- | Source/MFCDialog/PropertyList.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/MFCDialog/PropertyList.cpp b/Source/MFCDialog/PropertyList.cpp index 1ef3950..60c560f 100644 --- a/Source/MFCDialog/PropertyList.cpp +++ b/Source/MFCDialog/PropertyList.cpp @@ -575,7 +575,17 @@ void CPropertyList::OnMouseMove(UINT nFlags, CPoint point) //set the cursor to a sizing cursor if the cursor is over the row divider ::SetCursor(m_hCursorSize); else + { + BOOL loc; + int curSel = ItemFromPoint(point,loc); + if(!loc) + { + CPropertyItem* pItem = (CPropertyItem*) GetItemDataPtr(curSel); + m_CMakeSetupDialog->SetDlgItemText(IDC_PROGRESS, pItem->m_HelpString); + } CListBox::OnMouseMove(nFlags, point); + } + } void CPropertyList::InvertLine(CDC* pDC,CPoint ptFrom,CPoint ptTo) |