home *** CD-ROM | disk | FTP | other *** search
- // Filename: DIB.CPP
- // "DIB" Generated by Visual Programmer
- // Author: Blue Sky
-
- //
- // ***********************************************************************
- // Code in this file is initially generated by the Switch-It Module.
- // This file contains functions you can change
- // to provide whatever functionality you require.
- //
- //
- //
- // For more information,
- // see the section "How code is generated" in the documentation.
- //
- // ***********************************************************************
- //
-
- #include "AFXWIN.H"
- #include "DIB.H"
-
- WMPDEBUG
-
- #ifdef _DEBUG
- #undef THIS_FILE
- static char BASED_CODE THIS_FILE[] = __FILE__;
- #endif
-
-
- #include "DIB.WMC"
-
-
-
-
-
- // *********************************************************************
- // Creates the application object. Sets the ball in
- // motion for the entire application.
- // *********************************************************************
-
- Cwm_Application TheApp;
-
-
-
- // *************************************************************
- // Member Functions for Class: Cwm_Application
- // Base Class : Cwm_BaseApplication
- // Derived from MFC Class : CWinApp
- // *************************************************************
-
- // The User application class. In this class, you can override any
- // member functions in base classes you need to, and add your own
- // functionality.
-
-
-
- BEGIN_MESSAGE_MAP( Cwm_Application, Cwm_BaseApplication )
-
- // YOU CAN ADD YOUR OWN CODE HERE
-
- //{{SIM_MSG_MAP(Cwm_Application)
- // DO NOT EDIT what you see in this block of generated code.
-
- //}}SIM_MSG_MAP(Cwm_Application)
-
- END_MESSAGE_MAP()
-
-
- // Initialization for the first instance of the application
- BOOL Cwm_Application::InitApplication()
- {
- return Cwm_BaseApplication::InitApplication();
- }
-
-
- // Initialize this instance of the application
- BOOL Cwm_Application::InitInstance()
- {
- return Cwm_BaseApplication::InitInstance();
- }
-
-
- // Exit for this instance of the application
- BOOL Cwm_Application::ExitInstance()
- {
- CBitInst.FreeLib();
- return Cwm_BaseApplication::ExitInstance();
- }
-
-
- // *************************************************************
- // C Startup function for main window
- // *************************************************************
-
- Cwm_MainWnd* BLDMainCreateWnd(CWnd *pAParent)
- {
- Cwm_MainWnd *pWnd;
-
- // Create the object
- pWnd = new Cwm_MainWnd();
- if (!pWnd)
- return NULL;
-
- // Create the window
- pWnd->SimInitWindow(pAParent);
-
- return pWnd;
- }
-
-
-
- // *************************************************************
- // Member Functions for Class: Cwm_MainWnd
- // Base Class : Cwm_MainBaseWnd
- // Derived from MFC Class : CWnd
- // *************************************************************
-
- // The User main window class. In this class, you can override any
- // member functions in base classes you need to, and add your own
- // functionality.
-
-
- IMPLEMENT_DYNCREATE( Cwm_MainWnd, Cwm_MainBaseWnd )
-
- BEGIN_MESSAGE_MAP( Cwm_MainWnd, Cwm_MainBaseWnd )
-
- //{{SIM_MSG_MAP(Cwm_MainWnd)
- // DO NOT EDIT what you see in this block of generated code.
- //}}SIM_MSG_MAP(Cwm_MainWnd)
-
- // YOU CAN ADD YOUR OWN CODE HERE
-
- END_MESSAGE_MAP()
-
-
- Cwm_MainWnd::Cwm_MainWnd()
- : Cwm_MainBaseWnd()
- {
- }
-
-
- Cwm_MainWnd::~Cwm_MainWnd()
- {
- }
-
-
- //{{SIM_MSG_BODY(Cwm_MainWnd)
- // Message Handler Functions for you to edit will come here.
-
-
-
-
- //}}SIM_MSG_BODY(Cwm_MainWnd)
-
-
- // *************************************************************
- // Cwm_Wnd diagnostics
-
- #ifdef _DEBUG
- void Cwm_MainWnd::AssertValid() const
- {
- Cwm_MainBaseWnd::AssertValid();
- }
-
- void Cwm_MainWnd::Dump(CDumpContext& dc) const
- {
- Cwm_MainBaseWnd::Dump(dc);
- }
-
- #endif //_DEBUG
-
-