home *** CD-ROM | disk | FTP | other *** search
/ ftp.funduc.com / 2014.08.ftp.funduc.com.tar / ftp.funduc.com / fshedcode-072212.zip / ManipulateBitsDlg.h < prev    next >
C/C++ Source or Header  |  2010-09-13  |  3KB  |  77 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //    License (GPLv2+):
  3. //    This program is free software; you can redistribute it and/or modify
  4. //    it under the terms of the GNU General Public License as published by
  5. //    the Free Software Foundation; either version 2 of the License, or
  6. //    (at your option) any later version.
  7. //
  8. //    This program is distributed in the hope that it will be useful, but
  9. //    WITHOUT ANY WARRANTY; without even the implied warranty of
  10. //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  11. //    General Public License for more details.
  12. //
  13. //    You should have received a copy of the GNU General Public License
  14. //    along with this program; if not, write to the Free Software
  15. //    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. /////////////////////////////////////////////////////////////////////////////
  17.  
  18. #if !defined(AFX_MANIPULATEBITSDLG_H__0AEF7A17_D2FB_11D5_B58D_00B0D0719D70__INCLUDED_)
  19. #define AFX_MANIPULATEBITSDLG_H__0AEF7A17_D2FB_11D5_B58D_00B0D0719D70__INCLUDED_
  20.  
  21. #if _MSC_VER > 1000
  22. #pragma once
  23. #endif // _MSC_VER > 1000
  24. // ManipulateBitsDlg.h : header file
  25. //
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CManipulateBitsDlg dialog
  29.  
  30. class CManipulateBitsDlg : public CDialog
  31. {
  32. // Construction
  33. public:
  34.     CManipulateBitsDlg(CWnd* pParent = NULL);   // standard constructor
  35.  
  36. // Dialog Data
  37.     //{{AFX_DATA(CManipulateBitsDlg)
  38.     enum { IDD = IDD_MANIPBITSDIALOG };
  39.     BOOL    m_bChk1;
  40.     BOOL    m_bChk2;
  41.     BOOL    m_bChk3;
  42.     BOOL    m_bChk4;
  43.     BOOL    m_bChk5;
  44.     BOOL    m_bChk6;
  45.     BOOL    m_bChk7;
  46.     BOOL    m_bChk8;
  47.     CString    m_strLabel1;
  48.     CString    m_strLabel2;
  49.     //}}AFX_DATA
  50.  
  51.    int m_nBitPos;
  52.    unsigned char m_chValue;
  53.  
  54. // Overrides
  55.     // ClassWizard generated virtual function overrides
  56.     //{{AFX_VIRTUAL(CManipulateBitsDlg)
  57.     protected:
  58.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  59.     //}}AFX_VIRTUAL
  60.  
  61. // Implementation
  62. protected:
  63.  
  64.     // Generated message map functions
  65.     //{{AFX_MSG(CManipulateBitsDlg)
  66.     virtual BOOL OnInitDialog();
  67.     virtual void OnOK();
  68.     afx_msg void OnCheck();
  69.     //}}AFX_MSG
  70.     DECLARE_MESSAGE_MAP()
  71. };
  72.  
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  75.  
  76. #endif // !defined(AFX_MANIPULATEBITSDLG_H__0AEF7A17_D2FB_11D5_B58D_00B0D0719D70__INCLUDED_)
  77.