home *** CD-ROM | disk | FTP | other *** search
- //**********************************************************************
- // File name: app.h
- //
- // Definition of ObjUser
- //
- // Copyright (c) 1993 Microsoft Corporation. All rights reserved.
- //**********************************************************************
-
- #ifndef _CAPP_H_
- #define _CAPP_H_
-
-
- class CApp
- {
- friend CDlg;
- friend CDlgOpt;
- protected:
- HINSTANCE m_hInst;
- HINSTANCE m_hInstPrev;
- UINT m_nCmdShow;
-
- HWND m_hWnd;
- CDlg *m_pCDlg;
- CDlgOpt *m_pCDlgOpt;
-
- public:
-
- // Initialization methods
- CApp(HINSTANCE,HINSTANCE,UINT); // Constructor
- virtual ~CApp(); // Destructor
- BOOL InitInstance();
- HWND GetHWND()
- {
- return m_hWnd;
- }
- friend LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM );
-
- };
-
-
- #endif
-
-
- int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow);
-
-