NP.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- // np.h : main header file for the NP application
- //
- // This is a part of the Microsoft Foundation Classes C++ library.
- // Copyright (C) 1992-1998 Microsoft Corporation
- // All rights reserved.
- //
- // This source code is only intended as a supplement to the
- // Microsoft Foundation Classes Reference and related
- // electronic documentation provided with the library.
- // See these sources for detailed information regarding the
- // Microsoft Foundation Classes product.
- //
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
- #include "resource.h" // main symbols
- // application defines
- #define COMBO_HEIGHT 100 // width of edit control for combobox
- #define COMBO_WIDTH 160 // drop down height
- #define HISTORY_COUNT 10 // number of entries for the last search selections
- #define TIMER_ID 2 // timer ID for clock on status bar
- /////////////////////////////////////////////////////////////////////////////
- // CNotepadApp:
- // See np.cpp for the implementation of this class
- //
- class CNotepadApp : public CWinApp
- {
- public:
- CNotepadApp();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CNotepadApp)
- public:
- virtual BOOL InitInstance();
- virtual BOOL OnIdle(LONG lCount);
- //}}AFX_VIRTUAL
- // Implementation
- //{{AFX_MSG(CNotepadApp)
- afx_msg void OnAppAbout();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////