Develop and Download Open Source Software

Browse Subversion Repository

Contents of /WinCS/EXEConfirmDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11 - (show annotations) (download) (as text)
Wed Feb 10 18:21:00 2010 UTC (14 years, 2 months ago) by sho1get
File MIME type: text/x-chdr
File size: 1579 byte(s)


1 #pragma once
2 #include "afxwin.h"
3
4 //////////////////////////////////////////////////////////////////////////
5
6 class CEXEConfirmDlg : public CDialog, CStringConvert
7 {
8 DECLARE_DYNAMIC(CEXEConfirmDlg)
9
10 public:
11 CEXEConfirmDlg(CWnd* pParent = NULL);
12 virtual ~CEXEConfirmDlg();
13 enum { IDD = IDD_EXECONFIRM_DIALOG };
14
15 void SetPlugin(const CString &cs) { m_csModule = cs; }
16 void SetSlaves(UINT nSlaves) { m_nSlaves = nSlaves; }
17 void SetSystemProcessors(UINT nProcessors) { m_nSystemProcessors = nProcessors; }
18 void SetSingleProcessors(UINT nProcessors) { m_nSingleProcessors = nProcessors; }
19 void SetCalcSize(CALCSIZE size) { m_CalcSize = size; }
20 void GetCalcSize(CALCSIZE &size) { size = m_CalcSize; }
21 void GetArgument(CString &arg) { arg = m_csArgument; }
22 BOOL IsSystemMode() { return m_fSystem; }
23
24 protected:
25 DECLARE_MESSAGE_MAP()
26 virtual void DoDataExchange(CDataExchange* pDX);
27 virtual BOOL OnInitDialog();
28
29 afx_msg void OnBnClickedOk();
30 afx_msg void OnCbnSelchangeCmbExeconfirmMode();
31 afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
32
33 public:
34 CComboBox m_xCmbMode;
35 CEdit m_xEditSlaves;
36 CEdit m_xEditPlugin;
37 CEdit m_xEditArgument;
38 CEdit m_xEditWidth;
39 CEdit m_xEditHeight;
40 CEdit m_xEditRange;
41 CEdit m_xEditProcessors;
42
43 protected:
44 CALCSIZE m_CalcSize;
45 CString m_csModule;
46 CString m_csArgument;
47 BOOL m_fSystem;
48 UINT m_nSlaves;
49 UINT m_nSystemProcessors;
50 UINT m_nSingleProcessors;
51 };
52
53 //////////////////////////////////////////////////////////////////////////

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26