createdlg.h

来自「一个比较详细的操作系统进程同步模拟的例子」· C头文件 代码 · 共 62 行

H
62
字号
#if !defined(AFX_CREATEDLG_H__D77B7789_BE57_4255_B0DA_53FE39A64365__INCLUDED_)
#define AFX_CREATEDLG_H__D77B7789_BE57_4255_B0DA_53FE39A64365__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCreateDlg dialog

class CCreateDlg : public CDialog
{
// Construction
public:
	CCreateDlg(CWnd* pParent = NULL);   // standard constructor

    CString	state;
	CString	Kind;
	int		NeedTime;
	int		Priority;
	int		ProcessID;
	CString	ProcessName;

// Dialog Data
	//{{AFX_DATA(CCreateDlg)
	enum { IDD = IDD_DIALOG4 };
	CComboBox	m_combo_kind;
	CString	m_State;
	int		m_NeedTime;
	int		m_Priority;
	int		m_ProcessID;
	CString	m_ProcessName;
	int		m_Size;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCreateDlg)
	virtual void OnOK();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CREATEDLG_H__D77B7789_BE57_4255_B0DA_53FE39A64365__INCLUDED_)

⌨️ 快捷键说明

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