/[H6]/ResultDialog.cpp
ViewVC logotype

Diff of /ResultDialog.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by torben, Fri Sep 1 02:23:58 2006 UTC revision 30 by torben, Sun Sep 3 09:19:06 2006 UTC
# Line 103  void ResultDialog::OnBnClickedDetails() Line 103  void ResultDialog::OnBnClickedDetails()
103  {  {
104          CListCtrl *list = (CListCtrl *) GetDlgItem(IDC_LIST);          CListCtrl *list = (CListCtrl *) GetDlgItem(IDC_LIST);
105          int sel = list->GetSelectionMark();          int sel = list->GetSelectionMark();
106    
107          if (sel == -1) {          if (sel == -1) {
108                  MessageBox("You must select an item");                  MessageBox("You must select an item");
109                  return;          } else {
110          }                  ResultDetailsDialog resdialog;
111                    resdialog.m_resultIndex = sel;
112    
113          ResultDetailsDialog resdialog;                  resdialog.DoModal();
114          resdialog.m_resultIndex = sel;          }
   
         resdialog.DoModal();  
115  }  }

Legend:
Removed from v.20  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.20