gotodlg.h

来自「Smartphone手机阅读软件」· C头文件 代码 · 共 37 行

H
37
字号
// GotoDlg.h: interface for the CGotoDlg class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GOTODLG_H__785CCB2D_1BDE_4742_9BBB_8B9BAAB1C033__INCLUDED_)
#define AFX_GOTODLG_H__785CCB2D_1BDE_4742_9BBB_8B9BAAB1C033__INCLUDED_

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

#include "resource.h"

class CGotoDlg : public CDialogImpl<CGotoDlg>
{
public:
	enum { IDD = IDD_GOTODLG };
	BEGIN_MSG_MAP(CGotoDlg)
		MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
		COMMAND_ID_HANDLER(IDM_ACTION, OnDone)
		COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
	END_MSG_MAP()
	CGotoDlg();
	virtual ~CGotoDlg();

	LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
	LRESULT OnCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
	LRESULT OnDone(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
public:
	CString m_WindowTitle;
	int		m_GotoPageNo;	
	int     m_RecentPage;
	int     m_TotalPage;
};

#endif // !defined(AFX_GOTODLG_H__785CCB2D_1BDE_4742_9BBB_8B9BAAB1C033__INCLUDED_)

⌨️ 快捷键说明

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