www.pudn.com > 控制进程的封装类.zip > pipingDlg.h
// pipingDlg.h : header file
//
#if !defined(AFX_PIPINGDLG_H__FEC26246_9F55_11D5_A043_006067718D04__INCLUDED_)
#define AFX_PIPINGDLG_H__FEC26246_9F55_11D5_A043_006067718D04__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CPipingDlg dialog
class CPipingDlg : public CDialog
{
// Construction
public:
CPipingDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPipingDlg)
enum { IDD = IDD_PIPING_DIALOG };
CButton c_Run;
CButton c_Clear;
CStatic x_Command;
CListBox c_Output;
CEdit c_Command;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPipingDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
BOOL running;
void updateControls();
afx_msg LRESULT OnFinished(WPARAM, LPARAM);
afx_msg LRESULT OnLine(WPARAM, LPARAM);
// Generated message map functions
//{{AFX_MSG(CPipingDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnClose();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnClear();
afx_msg void OnRun();
afx_msg void OnChangeCommand();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PIPINGDLG_H__FEC26246_9F55_11D5_A043_006067718D04__INCLUDED_)