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

📄 ebookdlg.h

📁 ebook实现上下翻页
💻 H
字号:
// ebookDlg.h : header file
//

#if !defined(AFX_EBOOKDLG_H__196D2501_B98C_4948_92EF_F46DB579BD86__INCLUDED_)
#define AFX_EBOOKDLG_H__196D2501_B98C_4948_92EF_F46DB579BD86__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "Myedit.h"
/////////////////////////////////////////////////////////////////////////////
// CEbookDlg dialog

class CEbookDlg : public CDialog
{
// Construction
public:
	void Up();
	void Down();
	void ReadFile(CString a);
	BOOL InRect(int left, int top, int right, int bottom, int px, int py);

	CEbookDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CEbookDlg)
	enum { IDD = IDD_EBOOK_DIALOG };
	CEdit	m_edit2;
	CStatic	m_static;
	Myedit	m_edit;
	CString	m_editstr;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEbookDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CEbookDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton7();
	afx_msg void OnButton8();
	afx_msg void OnButton9();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
  CString txtstr;
  CBitmap *mycbitmap;
  CString mystring;
  CFile *fp;
  char *aa;
};

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

#endif // !defined(AFX_EBOOKDLG_H__196D2501_B98C_4948_92EF_F46DB579BD86__INCLUDED_)

⌨️ 快捷键说明

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