home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Windows 95 Special 1 / WINDOWS95_1.bin / internet / vogon / filter.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-22  |  1.2 KB  |  53 lines

  1. // filter.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "vogon.h"
  6. #include "filter.h"
  7.  
  8. #ifdef _DEBUG
  9. #undef THIS_FILE
  10. static char BASED_CODE THIS_FILE[] = __FILE__;
  11. #endif
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CFilterDialog dialog
  15.  
  16.  
  17. CFilterDialog::CFilterDialog(CWnd* pParent /*=NULL*/)
  18.     : CDialog(CFilterDialog::IDD, pParent)
  19. {
  20.     //{{AFX_DATA_INIT(CFilterDialog)
  21.     m_editURL = _T("");
  22.     m_stopShowingMe = FALSE;
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26.  
  27. void CFilterDialog::DoDataExchange(CDataExchange* pDX)
  28. {
  29.     CDialog::DoDataExchange(pDX);
  30.     //{{AFX_DATA_MAP(CFilterDialog)
  31.     DDX_Text(pDX, IDC_EDIT_URL, m_editURL);
  32.     DDX_Check(pDX, IDC_CHECK_STOP_ME, m_stopShowingMe);
  33.     //}}AFX_DATA_MAP
  34. }
  35.  
  36.  
  37. BEGIN_MESSAGE_MAP(CFilterDialog, CDialog)
  38.     //{{AFX_MSG_MAP(CFilterDialog)
  39.     ON_BN_CLICKED(ID_OK_HIDE, OnOkHide)
  40.     //}}AFX_MSG_MAP
  41. END_MESSAGE_MAP()
  42.  
  43.  
  44. /////////////////////////////////////////////////////////////////////////////
  45. // CFilterDialog message handlers
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48. //
  49. void CFilterDialog::OnOkHide() 
  50. {  // User clicked "Accept Hidden" - exit with code
  51.    EndDialog(ID_OK_HIDE);
  52. }
  53.