selpic.h

来自「超声影像工作站系统可与各种型号的B超、彩超连接」· C头文件 代码 · 共 70 行

H
70
字号
#if !defined(AFX_SELPIC_H__D6FCCE07_63A6_11D4_A2E1_0000E8153106__INCLUDED_)
#define AFX_SELPIC_H__D6FCCE07_63A6_11D4_A2E1_0000E8153106__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SelPic.h : header file
//

#define MAX_PIC	100

/////////////////////////////////////////////////////////////////////////////
// CSelPic dialog

class CSelPic : public CDialog
{
// Construction
public:
//	int *selid[];
	CSelPic(char *path,bool *databuf,CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSelPic)
	enum { IDD = IDD_SELPIC };
	CListBox	m_printlist;
	int		m_piccount;
	int		m_mode;
	int		m_firstpicid;
	//}}AFX_DATA


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

// Implementation
protected:
	void HiLight(int x,int y,bool hi=true);
	bool *m_ifprint;
	void ClearBackGround();
	int m_picperpage,m_picperrow,m_picpercol;
	int m_picwidth,m_picheight,m_spacex,m_spacey;
	CString m_filepath;
	void ReDrawPic();

	// Generated message map functions
	//{{AFX_MSG(CSelPic)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnRadioMode1();
	afx_msg void OnRadioMode2();
	afx_msg void OnRadioMode3();
	afx_msg void OnRadioMode4();
	afx_msg void OnButtonTop();
	afx_msg void OnButtonPrior();
	afx_msg void OnButtonNext();
	afx_msg void OnButtonBottom();
	afx_msg void OnLButtonDblClk(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_SELPIC_H__D6FCCE07_63A6_11D4_A2E1_0000E8153106__INCLUDED_)

⌨️ 快捷键说明

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