home *** CD-ROM | disk | FTP | other *** search
- //
- // Copyright (C) 1994 by
- // HITAM Software, St. Louis, MO, USA
- // All Rights Reserved.
- //
- // This software is furnished under a license and may be used and copied
- // only in accordance of the terms of such license and with the
- // inclusion of the above copyright notice. This software or any other
- // copies thereof may not be provided or otherwise made available to any
- // other person. No title to and ownership of the software is hereby
- // transferred.
- //
- // The information in this software is subject to change without notice
- // and should not be construed as a commitment by HITAM Software
- //
- // HITAM Software assumes no responsibility for
- // the use or reliability of its software on equipment which is not
- // supplied by HITAM Software
- //
- // FACILITY: DEMO_CPP
- //
- // ABSTRACT:
- //
- // These files comprise the C++ demonstration program for showing the
- // capabilities of the SPLASH Libraries. Code is Microsoft C++ built
- // using the Microsoft Foundation Class Library V2.5 with Microsoft
- // Visual C++ V1.5. Code is compatible in 16 bit Windows and 32 bit
- // Windows.
- //
- // Dependancies:
- // SPLASHxx.LIB Import Library for Windows
- // SPLASHxx.DLL Run-Time Library for Windows
- // SPLASH.H SPLASH Libraries Header File
- // RESOURCE.H Application Constants
- // DEMO_CPP.DEF Module Definition File
- //
- // AUTHOR(S): Todd Osborne (HITAM Software)
- //
- // CREATED: 06/15/94
- //
- // MODIFICATION HISTORY:
- //
- // Version Date By Reason
- //
-
- #define App (*(CTheApp*)AfxGetApp())
-
- class CTheApp : public CWinApp
- {
- public:
- virtual BOOL InitInstance();
- };
-
- class CMainDlgWindow : public CDialog
- {
- private:
- void KillTime(int nHowLong);
-
- public:
- CMainDlgWindow();
-
- // Dialog Data
- //{{AFX_DATA(CMainDlgWindow)
- enum { IDD = IDD_MAIN };
- CString m_strSplashFileName;
- int m_nHowLong;
- int m_nWhichDLL;
- //}}AFX_DATA
-
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- // Generated message map functions
- //{{AFX_MSG(CMainDlgWindow)
- afx_msg void OnClose();
- virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
- virtual void OnCancel();
- virtual BOOL OnInitDialog();
- virtual void PostNcDestroy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-