// StartUpDlg.cpp : implementation file // #include "stdafx.h" #include "dicann.h" #include "StartUpDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CStartUpDlg dialog CStartUpDlg::CStartUpDlg(CWnd* pParent /*=NULL*/) : CDialog(CStartUpDlg::IDD, pParent) { //{{AFX_DATA_INIT(CStartUpDlg) m_bCheckedShowStartUp = FALSE; m_sInfoStaticLabel = _T(""); //}}AFX_DATA_INIT } void CStartUpDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CStartUpDlg) DDX_Check(pDX, IDC_CHECK_SHOW_AGAIN, m_bCheckedShowStartUp); DDX_Text(pDX, IDC_STATIC_INFO, m_sInfoStaticLabel); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CStartUpDlg, CDialog) //{{AFX_MSG_MAP(CStartUpDlg) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CStartUpDlg message handlers BOOL CStartUpDlg::OnInitDialog() { CDialog::OnInitDialog(); m_sInfoStaticLabel = "This demo application was created with LEADTOOLS Medical Imaging Suite toolkit. It " "demonstrates the toolkit's support for DICOM annotations.\r\n\r\n" "When the user selects a DICOM image file to be opened, the demo searches the same " "folder for a file with the same base name, but with the extension \"pre\". For " "instance, if the selected file is named \"Image.dic\", the demo will look for a file " "named \"Image.pre\". The \".pre\" file is assumed to contain a Grayscale Softcopy " "Presentation State object. If such file does exist and the selected image is " "referenced by the object, the demo will load the annotations defined by the object, " "convert them into LEAD annotations, and then display them. If the \".pre\" file " "doesn't exist, the demo will create a Grayscale Softcopy Presentation State object to " "hold any annotations added later.\r\n\r\n" "When the user selects to save the DICOM image, the demo will convert the annotations " "displayed on the image into DICOM annotaions and will save the resulted Grayscale " "Softcopy Presentation State object in a file with the same name specified for the " "image, but with the extension \"pre\"."; UpdateData(FALSE); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } /* void CStartUpDlg::OnOK() { UpdateData(TRUE); CDialog::OnOK(); }*/