Develop and Download Open Source Software

Browse CVS Repository

Contents of /enbanfukusyaya/EnbanFukusyaYa/Win32/RemoteDlg.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Feb 16 17:10:26 2006 UTC (18 years, 1 month ago) by bananajinn
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-chdr
*** empty log message ***

1 #if !defined(AFX_REMOTEDLG_H__89EC431E_7A8C_4175_97BF_0EC8F84C9DFA__INCLUDED_)
2 #define AFX_REMOTEDLG_H__89EC431E_7A8C_4175_97BF_0EC8F84C9DFA__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // RemoteDlg.h : ヘッダー ファイル
8 //
9
10 #include <ThemeButton.h>
11 #include <ThemeLabel.h>
12 #include <ThemeComboBox.h>
13 #include <ThemeCheckBox.h>
14 #include <ThemeDialog.h>
15
16 /////////////////////////////////////////////////////////////////////////////
17 // CRemoteDlg ダイアログ
18
19 class CRemoteDlg : public CThemeDialog
20 {
21 // コンストラクション
22 public:
23 CRemoteDlg(CWnd* pParent = NULL); // 標準のコンストラクタ
24
25 // ダイアログ データ
26 //{{AFX_DATA(CRemoteDlg)
27 enum { IDD = IDD_REMOTE };
28 CThemeButton m_BtnOK;
29 CThemeButton m_BtnCancel;
30 CThemeLabel m_StcPort;
31 CThemeLabel m_StcAddress;
32 CEdit m_EdtPort;
33 CEdit m_EdtAddress;
34 //}}AFX_DATA
35
36
37 // オーバーライド
38 // ClassWizard は仮想関数のオーバーライドを生成します。
39 //{{AFX_VIRTUAL(CRemoteDlg)
40 protected:
41 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV サポート
42 //}}AFX_VIRTUAL
43
44 // インプリメンテーション
45 protected:
46
47 // 生成されたメッセージ マップ関数
48 //{{AFX_MSG(CRemoteDlg)
49 virtual void OnOK();
50 virtual BOOL OnInitDialog();
51 //}}AFX_MSG
52 DECLARE_MESSAGE_MAP()
53
54 private:
55 CString m_csRemoteAddress;
56 UINT m_uiPortNumber;
57 BOOL m_bServer;
58
59 public:
60 void SetServerMode(BOOL bServer){
61 m_bServer = bServer;
62 };
63 LPCTSTR GetRemoteAddress(){
64 return m_csRemoteAddress;
65 };
66 UINT GetPortNumber(){
67 return m_uiPortNumber;
68 };
69 };
70
71 //{{AFX_INSERT_LOCATION}}
72 // Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。
73
74 #endif // !defined(AFX_REMOTEDLG_H__89EC431E_7A8C_4175_97BF_0EC8F84C9DFA__INCLUDED_)

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