⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 studylist.cpp

📁 3D reconstruction, medical image processing from colons, using intel image processing for based clas
💻 CPP
字号:
// StudyList.cpp : implementation file//#include "stdafx.h"#include "CommonList.h"#include "resource.h"#include "StudyList.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// RxLoadStudyListRxLoadStudyList::RxLoadStudyList(){	m_iSelected=-1;}RxLoadStudyList::~RxLoadStudyList(){}BEGIN_MESSAGE_MAP(RxLoadStudyList, RxCommonList)	//{{AFX_MSG_MAP(RxLoadStudyList)	ON_WM_RBUTTONDOWN()	ON_WM_DESTROY()	ON_COMMAND(IDM_STUDY_SET_REFERENCE, OnStudySetReference)	ON_COMMAND(IDM_STUDY_SET_FLOAT, OnStudySetFloat)	ON_WM_LBUTTONDOWN()	ON_WM_KEYUP()	//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// RxLoadStudyList message handlersvoid RxLoadStudyList::OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) {	CWnd* pParent = GetParent();	pParent->SendMessage(UM_KEY_SELCHANGE_STUDY, (WPARAM)nChar);		RxCommonList::OnKeyUp(nChar, nRepCnt, nFlags);}void RxLoadStudyList::OnRButtonDown(UINT nFlags, CPoint point) {	RxCommonList::OnRButtonDown(nFlags, point);}void RxLoadStudyList::OnLButtonDown(UINT nFlags, CPoint point) {	TRACE(_T("\n\n onlbuttondown called@@@"));	RxCommonList::OnLButtonDown(nFlags, point);	int nSel = HitTest(point);	m_iSelected=nSel;	if (nSel < 0) return;//	CMenu menu;//	menu.LoadMenu(IDMN_STUDY_LIST);//	CMenu * pmenu = menu.GetSubMenu(0);//	ClientToScreen(&point);//	pmenu->TrackPopupMenu(TPM_LEFTALIGN|TPM_RIGHTBUTTON, point.x, point.y, this);}/*void RxLoadStudyList::OnDeleteStudy() {	CWnd* pWnd = GetParent();//	CString strMessage;//	strMessage.LoadString(IDS_LOADVIEW_DELETE_ITEM);//	int res=AfxMessageBox(strMessage , MB_OKCANCEL);//	if (res==IDOK)		pWnd->SendMessage(UM_DELETE_STUDY);}void RxLoadStudyList::OnCopyStudy() {	CWnd* pWnd = GetParent();	pWnd->SendMessage(UM_COPY_STUDY);}void RxLoadStudyList::OnCopyStudyToUser() {	CWnd* pWnd = GetParent();	pWnd->SendMessage(UM_COPY_TO_USER_STUDY, m_iSelected);}void RxLoadStudyList::OnCommentStudy() {			CWnd* pWnd = GetParent();	pWnd->SendMessage(UM_COMMENT_STUDY, m_iSelected);}*/void RxLoadStudyList::ClearAllData(){	int i, nCount = GetItemCount();	CString * pStr;	for (i = 0; i < nCount; i++) {		pStr=(CString *)GetItemData(i);		if (pStr != NULL)			delete[] pStr;	}}void RxLoadStudyList::OnDestroy() {	ClearAllData();	CListCtrl::OnDestroy();}/*void RxLoadStudyList::OnDeleteStudies() {	CWnd* pWnd = GetParent();//	CString strMessage;//	strMessage.LoadString(IDS_LOADVIEW_DELETE_ITEM);//	int res=AfxMessageBox(strMessage , MB_OKCANCEL);//	if (res==IDOK)//		pWnd->SendMessage(UM_DELETE_STUDY);}void RxLoadStudyList::OnBackupStudy() {	CWnd* pWnd = GetParent();	pWnd->SendMessage(UM_COPY_STUDY);}*/void RxLoadStudyList::OnStudySetReference() {//	g_GetFrameMain()->m_pFMWndLoad->SetReference();	}void RxLoadStudyList::OnStudySetFloat() {//	g_GetFrameMain()->m_pFMWndLoad->SetFloat();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -