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

📄 magicworddlg.h

📁 魔法单词记忆——DAO访问ACCESS数据库
💻 H
字号:
// MagicWordDlg.h : header file
//

#if !defined(AFX_MAGICWORDDLG_H__C5B2E5C7_DBBC_11D8_9B00_8901F5759A73__INCLUDED_)
#define AFX_MAGICWORDDLG_H__C5B2E5C7_DBBC_11D8_9B00_8901F5759A73__INCLUDED_

#include "ButtonStyle.h"	// Added by ClassView
#include "WordDaoSet.h"	// Added by ClassView

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CWordDaoSet;
class CWordInfoDlg;

/////////////////////////////////////////////////////////////////////////////
// CMagicWordDlg dialog

class CMagicWordDlg : public CDialog
{
public:
	void DisplayFirstRecord();
	CMagicWordDlg(CWnd* pParent = NULL);

// Dialog Data
	//{{AFX_DATA(CMagicWordDlg)
	enum { IDD = IDD_MAGICWORD_DIALOG };
	CString	m_sentences;
	CString	m_explains;
	CString	m_word;
	CString	m_jump;
	CString	m_goto;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMagicWordDlg)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMagicWordDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnAddition();
	afx_msg void OnRemove();
	afx_msg void OnModify();
	afx_msg void OnSearch();
	afx_msg void OnAbout();
	afx_msg void OnNext();
	afx_msg void OnPrevious();
   afx_msg void OnHome();
   afx_msg void OnEnd();
	afx_msg void OnJump();
	afx_msg void OnGoto();
	virtual void OnOK();
	afx_msg void OnExit();
	afx_msg void OnClose();
	afx_msg void OnListItem();
	afx_msg void OnSetting();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

// 将其单独定义而不是在ClassWizard中定义,参看InitBuffonStyle();
private:
	CButtonStyle m_Setting,  m_ListItem, m_Addition, m_Remove, 
                m_Modify,   m_Search,   m_About,    m_Exit,
                m_Previous, m_Next,     m_End,      m_Home,
                m_Goto,     m_Jump;

private:
   void InitButtonStyle();
   void PublicAssign();
   void RegCurrentRecord();
   void HistroyVisitWord();

private:
   CWordDaoSet *m_pSet;
   CString      m_directory;
};

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

#endif // !defined(AFX_MAGICWORDDLG_H__C5B2E5C7_DBBC_11D8_9B00_8901F5759A73__INCLUDED_)

⌨️ 快捷键说明

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