⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syncview.h

📁 WinCE开发技巧与实例的配套源码
💻 H
字号:
#if !defined(AFX_SYNCVIEW_H__504BAAD0_85F1_472A_BF09_BB3AB16DB0D6__INCLUDED_)
#define AFX_SYNCVIEW_H__504BAAD0_85F1_472A_BF09_BB3AB16DB0D6__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// SyncView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSyncView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CSyncView : public CFormView
{
public:
	CSyncView();           // protected constructor used by dynamic creation
protected:	
	DECLARE_DYNCREATE(CSyncView)

// Form Data
public:
	//{{AFX_DATA(CSyncView)
	enum { IDD = IDD_SYNCHRONIZATION_VIEW };
	CButton	m_btnQuit;
	BOOL	m_bRenew;
	CString	m_strOutMsg;
	//}}AFX_DATA

// Attributes
public:
	BOOL m_bJustBackUpSuccess;

// Operations
public:
	static void UpdateMsg(CEdit* hWndEdit, CString strMsg);
	static int Restore(CSyncView *pThisBOOL, BOOL bPrompted = TRUE);
	static void DoSync(CSyncView* pThis);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSyncView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CSyncView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CSyncView)
	afx_msg void OnButtonSynchronization();
	afx_msg void OnButtonAdvance();
	afx_msg void OnBtnReturn();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	BOOL m_bEnableExit;
public://被静态函数访问,以前是与界面ddx的变量。为了减少改动,不把它们重新声明成静态
	static int BackUp(CSyncView *pThis, BOOL bPrompted);
	static BOOL SearchDB(CString strDBPathName);
	CString	m_strDBLoginID;
	CString	m_strDBName;
	CString	m_strDBPassword;
	CString	m_strDBServerName;
	CString	m_strURL;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SYNCVIEW_H__504BAAD0_85F1_472A_BF09_BB3AB16DB0D6__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -