home *** CD-ROM | disk | FTP | other *** search
/ Xentax forum attachments archive / xentax.7z / 8090 / ModelEdit.7z / StringDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-03-08  |  1.2 KB  |  59 lines

  1. #ifndef __STRINGDLG_H__
  2. #define __STRINGDLG_H__
  3.  
  4.     // StringDlg.h : header file
  5.     //
  6.  
  7.     /////////////////////////////////////////////////////////////////////////////
  8.     // CStringDlg dialog
  9.  
  10.     #include "resource.h"
  11.  
  12.     class CStringDlg : public CDialog
  13.     {
  14.     // Construction
  15.     public:
  16.         CStringDlg(UINT id = IDD_STRINGDLG, CWnd* pParent = NULL);   // standard constructor
  17.  
  18.     // Dialog Data
  19.         //{{AFX_DATA(CStringDlg)
  20.         enum { IDD = IDD_STRINGDLG };
  21.         CString    m_EnteredText;
  22.         CString    m_MsgText;
  23.         //}}AFX_DATA
  24.  
  25.         UINT        m_idCaption, m_idText;
  26.  
  27.         BOOL        m_bAllowLetters;
  28.         BOOL        m_bAllowNumbers;
  29.         BOOL        m_bAllowOthers;
  30.         BOOL        m_bBeeping;
  31.  
  32.         int            m_MaxStringLen;
  33.  
  34.         int            DoModal( UINT idCaption, UINT idText );
  35.  
  36.  
  37.     // Overrides
  38.         // ClassWizard generated virtual function overrides
  39.         //{{AFX_VIRTUAL(CStringDlg)
  40.         protected:
  41.         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42.         //}}AFX_VIRTUAL
  43.  
  44.     // Implementation
  45.     protected:
  46.  
  47.         // Generated message map functions
  48.         //{{AFX_MSG(CStringDlg)
  49.         virtual BOOL OnInitDialog();
  50.         afx_msg void OnChangeEnteredtext();
  51.         //}}AFX_MSG
  52.         DECLARE_MESSAGE_MAP()
  53.     };
  54.  
  55. #endif
  56.  
  57.  
  58.  
  59.