📄 dynamyipview.h
字号:
// DynaMyIPView.h : interface of the CDynaMyIPView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DYNAMYIPVIEW_H__01F7686B_0829_4EAB_A949_9C4450868134__INCLUDED_)
#define AFX_DYNAMYIPVIEW_H__01F7686B_0829_4EAB_A949_9C4450868134__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define FILENAME "IPAddress.dat"
class CDynaMyIPView : public CFormView
{
protected: // create from serialization only
CDynaMyIPView();
DECLARE_DYNCREATE(CDynaMyIPView)
public:
//{{AFX_DATA(CDynaMyIPView)
enum { IDD = IDD_DYNAMYIP_FORM };
CIPAddressCtrl m_IPNETMASK;
CIPAddressCtrl m_IPGATEWAY;
CIPAddressCtrl m_IPADDRESS;
CStatic m_bmpBack;
//}}AFX_DATA
// Attributes
public:
CDynaMyIPDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDynaMyIPView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void Serialize(CArchive& ar);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
bool FileExits(const LPCTSTR FileName);
virtual ~CDynaMyIPView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDynaMyIPView)
afx_msg void OnBtnsetup();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BYTE nField0,nField1,nField2,nField3;
};
#ifndef _DEBUG // debug version in DynaMyIPView.cpp
inline CDynaMyIPDoc* CDynaMyIPView::GetDocument()
{ return (CDynaMyIPDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DYNAMYIPVIEW_H__01F7686B_0829_4EAB_A949_9C4450868134__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -