home *** CD-ROM | disk | FTP | other *** search
- /* Project firstapp
-
- Copyright ⌐ 1993. All Rights Reserved.
-
- SUBSYSTEM: firstapp.exe Application
- FILE: tdocdlg.cpp
- AUTHOR:
-
-
- OVERVIEW
- ========
- Source file for implementation of TDocDlg (TDialog).
- */
-
- #include <owl\owlpch.h>
- #pragma hdrstop
-
- #include "tdocdlg.h"
-
-
- //{{TDocDlg Implementation}}
-
-
- TDocDlg::TDocDlg (TWindow* parent, TResId resId, TModule* module):
- TDialog(parent, resId, module)
- {
- // INSERT>> Your constructor code here.
-
- }
-
-
- TDocDlg::~TDocDlg ()
- {
- Destroy();
-
- // INSERT>> Your destructor code here.
-
- }
-
-
- BOOL TDocDlg::PreProcessMsg (MSG& msg)
- {
- if (msg.message == WM_KEYDOWN &&
- (msg.wParam == VK_ESCAPE || msg.wParam == VK_RETURN))
- return TRUE; // ignore OK and CANCEL keys, rather than quit dialog
- return TDialog::PreProcessMsg(msg);
- }
-
-