--- EquipmentEditDialog.cpp 2006/08/30 21:57:57 9 +++ EquipmentEditDialog.cpp 2006/09/03 10:10:19 31 @@ -1,5 +1,6 @@ -// EquipmentEditDialog.cpp : implementation file -// +/* + * Developed by Torben H. Nielsen + */ #include "stdafx.h" #include "h6-udlånssystem.h" @@ -79,6 +80,7 @@ GetDlgItem(IDC_NAME)->SetWindowText(m_currentEquipment.name); GetDlgItem(IDC_DESCRIPTION)->SetWindowText(m_currentEquipment.description); GetDlgItem(IDC_PLACEMENT)->SetWindowText(m_currentEquipment.placement); + ((CEdit*)GetDlgItem(IDC_BARCODE))->SetReadOnly(true); } return TRUE; // return TRUE unless you set the focus to a control