/[H6]/EquipmentEditDialog.cpp
ViewVC logotype

Diff of /EquipmentEditDialog.cpp

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

revision 9 by torben, Wed Aug 30 21:57:57 2006 UTC revision 11 by torben, Thu Aug 31 07:10:57 2006 UTC
# Line 79  BOOL EquipmentEditDialog::OnInitDialog() Line 79  BOOL EquipmentEditDialog::OnInitDialog()
79                  GetDlgItem(IDC_NAME)->SetWindowText(m_currentEquipment.name);                  GetDlgItem(IDC_NAME)->SetWindowText(m_currentEquipment.name);
80                  GetDlgItem(IDC_DESCRIPTION)->SetWindowText(m_currentEquipment.description);                  GetDlgItem(IDC_DESCRIPTION)->SetWindowText(m_currentEquipment.description);
81                  GetDlgItem(IDC_PLACEMENT)->SetWindowText(m_currentEquipment.placement);                  GetDlgItem(IDC_PLACEMENT)->SetWindowText(m_currentEquipment.placement);
82                    ((CEdit*)GetDlgItem(IDC_BARCODE))->SetReadOnly(true);
83          }          }
84    
85          return TRUE;  // return TRUE unless you set the focus to a control          return TRUE;  // return TRUE unless you set the focus to a control

Legend:
Removed from v.9  
changed lines
  Added in v.11

  ViewVC Help
Powered by ViewVC 1.1.20