home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c016 / 3.ddi / CORNEXT.PAK / TPATDLG.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-09  |  889 b   |  49 lines

  1. /*  Project nextapp
  2.     
  3.     Copyright ⌐ 1993. All Rights Reserved.
  4.  
  5.     SUBSYSTEM:    nextapp.exe Application
  6.     FILE:         tpatdlg.cpp
  7.     AUTHOR:       
  8.  
  9.  
  10.     OVERVIEW
  11.     ========
  12.     Source file for implementation of TPatDlg (TDialog).      
  13. */
  14.  
  15. #include <owl\owlpch.h>
  16. #pragma hdrstop
  17.  
  18. #include "tpatdlg.h"
  19.  
  20.  
  21. //{{TPatDlg Implementation}}
  22.  
  23.  
  24. TPatDlg::TPatDlg (TWindow* parent, TResId resId, TModule* module):
  25.     TDialog(parent, resId, module)
  26. {
  27.     // INSERT>> Your constructor code here.
  28.  
  29. }
  30.  
  31.  
  32. TPatDlg::~TPatDlg ()
  33. {
  34.     Destroy();
  35.  
  36.     // INSERT>> Your destructor code here.
  37.  
  38. }
  39.  
  40.  
  41. BOOL TPatDlg::PreProcessMsg (MSG& msg)
  42. {
  43.      if (msg.message == WM_KEYDOWN &&
  44.           (msg.wParam == VK_ESCAPE || msg.wParam == VK_RETURN))
  45.           return TRUE;      // ignore OK and CANCEL keys, rather than quit dialog
  46.      return TDialog::PreProcessMsg(msg);
  47. }
  48.  
  49.