home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09963.iso / strategy / hangman.zip / HintDlg.cpp < prev    next >
C/C++ Source or Header  |  1995-12-30  |  1KB  |  50 lines

  1. // HintDlg.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "Hangman32.h"
  6. #include "HintDlg.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CHintDlg dialog
  16.  
  17.  
  18. CHintDlg::CHintDlg(CWnd* pParent /*=NULL*/)
  19.     : CDialog(CHintDlg::IDD, pParent)
  20. {
  21.     //{{AFX_DATA_INIT(CHintDlg)
  22.     m_Quote = _T("");
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26.  
  27. void CHintDlg::DoDataExchange(CDataExchange* pDX)
  28. {
  29.     CDialog::DoDataExchange(pDX);
  30.     //{{AFX_DATA_MAP(CHintDlg)
  31.     DDX_Text(pDX, IDC_HINT_QUOTE, m_Quote);
  32.     DDV_MaxChars(pDX, m_Quote, 87);
  33.     //}}AFX_DATA_MAP
  34. }
  35.  
  36.  
  37. BEGIN_MESSAGE_MAP(CHintDlg, CDialog)
  38.     //{{AFX_MSG_MAP(CHintDlg)
  39.         // NOTE: the ClassWizard will add message map macros here
  40.     //}}AFX_MSG_MAP
  41. END_MESSAGE_MAP()
  42.  
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CHintDlg message handlers
  45.  
  46. void CHintDlg::SetQuote(CString strQuote)
  47. {
  48.     m_Quote = strQuote;
  49. }
  50.