www.pudn.com > smsinterface.rar > SmsDelView.h
#if !defined(AFX_SMSDELVIEW_H__E108A33F_7DE7_4953_9732_48110FA56285__INCLUDED_) #define AFX_SMSDELVIEW_H__E108A33F_7DE7_4953_9732_48110FA56285__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SmsDelView.h : header file // #include "SmsinterfaceDoc.h" #include "SerialPort.h" #include "MainFrm.h" ///////////////////////////////////////////////////////////////////////////// // CSmsDelView form view #ifndef __AFXEXT_H__ #include#endif class CSmsDelView : public CFormView { public: CSmsDelView(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(CSmsDelView) // Form Data public: //{{AFX_DATA(CSmsDelView) enum { IDD = IDD_SMSDEL_FORM }; CButton m_prebtn; CButton m_nextbtn; CButton m_delbtn; CString m_phonenum; CString m_zhenwen; CString m_timestr; CString m_typestr; CString m_smindex; //}}AFX_DATA // Attributes public: CSmsinterfaceDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSmsDelView) protected: virtual void OnInitialUpdate(); 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 ~CSmsDelView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions //{{AFX_MSG(CSmsDelView) afx_msg void OnDelSM(); afx_msg void OnGetNextSM(); afx_msg void OnGetPreSM(); //}}AFX_MSG DECLARE_MESSAGE_MAP() protected: int curindex; void GetSMData(int totalindex,recsmdata* smdata); }; #ifndef _DEBUG // debug version in smsdelview.cpp inline CSmsinterfaceDoc* CSmsDelView::GetDocument() { return (CSmsinterfaceDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SMSDELVIEW_H__E108A33F_7DE7_4953_9732_48110FA56285__INCLUDED_)