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

📄 eventhandler.h

📁 i am server im imi mim im im
💻 H
字号:
#if !defined(AFX_EVENTHANDLER_H__65AB334A_C1F8_439F_86EE_897C93D5D860__INCLUDED_)
#define AFX_EVENTHANDLER_H__65AB334A_C1F8_439F_86EE_897C93D5D860__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPDFCreateEvent command target

class CEventHandler : public CCmdTarget
{
public:
	DECLARE_DYNCREATE(CEventHandler)

	CEventHandler();           // protected constructor used by dynamic creation
	virtual ~CEventHandler();

public:
	void Initialize( LPUNKNOWN pUnk, REFIID iid ) ;
	void Uninitialize( LPUNKNOWN pUnk, REFIID iid ) ;
private:
	DWORD m_dwCookie ;	
};

class CPDFPrintEvent : public CEventHandler
{
public:
	DECLARE_DYNCREATE(CPDFPrintEvent)
	CPDFPrintEvent() {}
	virtual ~CPDFPrintEvent() {}

protected:

	DECLARE_MESSAGE_MAP()

	DECLARE_DISPATCH_MAP( )	
	DECLARE_INTERFACE_MAP()	

private:
	BSTR OnQueryPassword(char* filename);	
	void OnPasswordIncorrect(char* filename);

	void OnStartDoc(char* filename);	
	void OnEndDoc(char* filename) ;
	void OnStartPage(long pageno);
	void OnEndPage(long pageno);


};

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

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

#endif // !defined(AFX_EVENTHANDLER_H__65AB334A_C1F8_439F_86EE_897C93D5D860__INCLUDED_)

⌨️ 快捷键说明

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