Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /WinCS/EXEConfirmDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14 - (hide annotations) (download) (as text)
Tue May 25 06:54:38 2010 UTC (13 years, 10 months ago) by sho1get
File MIME type: text/x-chdr
File size: 1626 byte(s)


1 sho1get 11 #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 sho1get 14 afx_msg void OnBnClickedBtnExeconfirmSize();
32 sho1get 11 afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
33    
34     public:
35     CComboBox m_xCmbMode;
36     CEdit m_xEditSlaves;
37     CEdit m_xEditPlugin;
38     CEdit m_xEditArgument;
39     CEdit m_xEditWidth;
40     CEdit m_xEditHeight;
41     CEdit m_xEditRange;
42     CEdit m_xEditProcessors;
43    
44     protected:
45     CALCSIZE m_CalcSize;
46     CString m_csModule;
47     CString m_csArgument;
48     BOOL m_fSystem;
49     UINT m_nSlaves;
50     UINT m_nSystemProcessors;
51     UINT m_nSingleProcessors;
52     };
53    
54     //////////////////////////////////////////////////////////////////////////

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