From c3c6b8787355ef1f063f7f719a9857e82ab23681 Mon Sep 17 00:00:00 2001 From: Dan Werthimer Date: Mon, 23 Jun 2003 20:22:24 +0000 Subject: [PATCH] Removed left-click interception to allow highlighting of list items. svn path=/trunk/boinc/; revision=1569 --- client/win/wingui_listctrl.cpp | 6 ++++++ client/win/wingui_listctrl.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/client/win/wingui_listctrl.cpp b/client/win/wingui_listctrl.cpp index 9bf8ca32be..558a85988f 100755 --- a/client/win/wingui_listctrl.cpp +++ b/client/win/wingui_listctrl.cpp @@ -907,9 +907,15 @@ void CProgressListCtrl::OnDestroy() // point: mouse's point // returns: void // function: stops control from highlighting items, opens links + +// NOTE: Removed this function to allow highlighting; unsure if this +// will produce unwanted side-effects. -JBK + +/* void CProgressListCtrl::OnLButtonDown(UINT nFlags, CPoint point) { } +*/ ////////// // CProgressListCtrl::OnRButtonDown diff --git a/client/win/wingui_listctrl.h b/client/win/wingui_listctrl.h index da66f39630..3354035ea6 100755 --- a/client/win/wingui_listctrl.h +++ b/client/win/wingui_listctrl.h @@ -123,7 +123,7 @@ protected: afx_msg BOOL OnNotify(WPARAM, LPARAM, LRESULT*); afx_msg void OnCustomDraw(NMHDR*, LRESULT*); afx_msg void OnPaint(); - afx_msg void OnLButtonDown(UINT, CPoint); + //afx_msg void OnLButtonDown(UINT, CPoint); // Removed to allow highlighting. afx_msg void OnRButtonDown(UINT, CPoint); DECLARE_MESSAGE_MAP() };