// CB32.h : main header file for the CB32 application // #if !defined(AFX_CB32_H__20BFD1E7_4F52_11D1_AF86_000000000000__INCLUDED_) #define AFX_CB32_H__20BFD1E7_4F52_11D1_AF86_000000000000__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols // #include // why not... // 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 ///////////////////////////////////////////////////////////////////////////// // CCB32App: // See CB32.cpp for the implementation of this class // class CCB32App : public CWinApp { public: virtual BOOL OnIdle(LONG lCount); CCB32App(); CString m_pszPathToExe; // Operations public: void UpdateIniFileWithDocPath(LPCTSTR lpszPathName); void SetStatusMsg(UINT umsg); void SetStatusMsg(CString msg); protected: BOOL m_inStart; CString GetDocPathFromIniFile(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CCB32App) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CCB32App) afx_msg void OnAppAbout(); afx_msg void OnHelpIndex(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; extern CCB32App theApp; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CB32_H__20BFD1E7_4F52_11D1_AF86_000000000000__INCLUDED_)