dicomreaddlg.h

来自「转化为DIB位图再显示出来的dicom文件C++代码」· C头文件 代码 · 共 69 行

H
69
字号
// DicomReadDlg.h : header file
//

#if !defined(AFX_DICOMREADDLG_H__EA29AB50_24E6_4CFD_9BD3_DB2F3A8BAE76__INCLUDED_)
#define AFX_DICOMREADDLG_H__EA29AB50_24E6_4CFD_9BD3_DB2F3A8BAE76__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "dib.h"
/////////////////////////////////////////////////////////////////////////////
// CDicomReadDlg dialog
#include "dcmtk\dcmimgle\dcmimage.h"
#include "dcmtk\dcmdata\dcswap.h"
class CDicomReadDlg : public CDialog
{
// Construction
public:
	bool b_Isediting;
	int mousey;
	int mousex;
	void RefreshDraw();
	CDicomReadDlg(CWnd* pParent = NULL);	// standard constructor
	~CDicomReadDlg();
	CDib dib;
	double WindowCenter,WindowWidth;
// Dialog Data
	//{{AFX_DATA(CDicomReadDlg)
	enum { IDD = IDD_DICOMREAD_DIALOG };
	CSliderCtrl	m_sw;
	CSliderCtrl	m_sc;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDicomReadDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	HDIB h_ImageDib;
	DicomImage* di;
	// Generated message map functions
	//{{AFX_MSG(CDicomReadDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnKillfocusW();
	afx_msg void OnKillfocusC();
	afx_msg void OnReleasedcaptureSw(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnReleasedcaptureSc(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnChoosePath();
	afx_msg void OnCustomdrawSw(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnOutofmemorySw(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DICOMREADDLG_H__EA29AB50_24E6_4CFD_9BD3_DB2F3A8BAE76__INCLUDED_)

⌨️ 快捷键说明

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