www.pudn.com > PhoneReaderSrc.rar > GotoDlg.h
// 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{ 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_)