NetReceiveData Example for C++ 6.0 or later
{
CString strMsg;
strMsg.Format("*** NetReceiveData Event ***\n\nnID[%d]", nID);
if (hDicomCS )
strMsg = strMsg + "\nData is a command set!";
else
{
strMsg = strMsg + "Data is a data set - saved to disk!";
m_pDlg->m_pLEADDicomDS->SaveExtDS(hDicomDS, "c:\temp\test.dic", 0);
}
AfxMessageBox(strMsg);
}