home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / vjplusb / activex / inetsdk / samples / urlpad / superpad.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-29  |  1.5 KB  |  54 lines

  1. //=------------------------------------------------------------------------=
  2. // SuperPad.h
  3. //=------------------------------------------------------------------------=
  4. // Copyright 1992-1996 Microsoft Corporation.  All Rights Reserved.
  5. //
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  7. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  8. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  9. // PARTICULAR PURPOSE.
  10. //=--------------------------------------------------------------------------=
  11. //
  12. // main header file for the SuperPad application
  13. //
  14.  
  15. #include "resource.h"
  16. #include "pageset.h"
  17. #include "aboutbox.h"
  18.  
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CTheApp
  21.  
  22. class CTheApp : public CWinApp
  23. {
  24. // Constructors
  25. public:
  26.     CTheApp();
  27.     ~CTheApp();
  28.     UINT PromptForFileName(CString& fileName, UINT nIDSTitle, DWORD dwFlags,BOOL bOpenFileDialog);
  29.  
  30. // Implementation
  31. private:
  32.     virtual BOOL InitInstance();
  33.     virtual int ExitInstance();
  34.     virtual BOOL OnIdle(LONG lCount);
  35.     virtual BOOL PreTranslateMessage(MSG* pMsg);
  36.  
  37.     DWORD m_dwSplashTime;
  38.     CSplashWnd m_splash;
  39.  
  40.     COleTemplateServer m_server;
  41.  
  42.     //{{AFX_MSG(CTheApp)
  43.     afx_msg void OnAppAbout();
  44.     afx_msg void OnPageSetup();
  45.     afx_msg void OnFileOpen();
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50. extern CPageSetupDlg NEAR dlgPageSetup;
  51. extern CTheApp NEAR theApp;
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54.