www.pudn.com > smsinterface.rar > SmsSetView.h


#if !defined(AFX_SMSSETVIEW_H__A7BB422A_904E_4A49_8D47_563702432589__INCLUDED_) 
#define AFX_SMSSETVIEW_H__A7BB422A_904E_4A49_8D47_563702432589__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// SmsSetView.h : header file 
// 
#include "SmsinterfaceDoc.h" 
///////////////////////////////////////////////////////////////////////////// 
// CSmsSetView form view 
 
#ifndef __AFXEXT_H__ 
#include  
#endif 
 
class CSmsSetView : public CFormView 
{ 
public: 
	CSmsSetView();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CSmsSetView) 
 
// Form Data 
public: 
	//{{AFX_DATA(CSmsSetView) 
	enum { IDD = IDD_SMSSET_FORM }; 
	CButton	m_btnset; 
	CString	m_servernostr; 
	//}}AFX_DATA 
 
// Attributes 
public: 
	CSmsinterfaceDoc* GetDocument(); 
// Operations 
public: 
		char serverno[50]; 
		CString serverphonestr; 
		BOOL isoperating; 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSmsSetView) 
	public: 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam); 
	//}}AFX_VIRTUAL 
 
// Implementation 
	public: 
	virtual ~CSmsSetView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
	//{{AFX_MSG(CSmsSetView) 
	afx_msg void OnButtonSet(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
protected: 
	void GetServerPhone(int nSize,char serverphone[]); 
}; 
#ifndef _DEBUG  // debug version in smssetview.cpp 
inline CSmsinterfaceDoc* CSmsSetView::GetDocument() 
   { return (CSmsinterfaceDoc*)m_pDocument; } 
#endif 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SMSSETVIEW_H__A7BB422A_904E_4A49_8D47_563702432589__INCLUDED_)