Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. Restrct.h : header file
  5. File History:
  6. JonY Apr-96 created
  7. --*/
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CRestrictions dialog
  10. class CRestrictions : public CWizBaseDlg
  11. {
  12. DECLARE_DYNCREATE(CRestrictions)
  13. // Construction
  14. public:
  15. CRestrictions();
  16. ~CRestrictions();
  17. // Dialog Data
  18. //{{AFX_DATA(CRestrictions)
  19. enum { IDD = IDD_RESTRICTIONS_DIALOG };
  20. BOOL m_bAccountExpire;
  21. BOOL m_bAccountDisabled;
  22. BOOL m_bLoginTimes;
  23. BOOL m_bLimitWorkstations;
  24. int m_nRestrictions;
  25. CString m_csCaption;
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generate virtual function overrides
  29. //{{AFX_VIRTUAL(CRestrictions)
  30. public:
  31. virtual LRESULT OnWizardBack();
  32. virtual LRESULT OnWizardNext();
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(CRestrictions)
  40. afx_msg void OnRestrictionsRadio();
  41. afx_msg void OnRestrictionsRadio2();
  42. afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  43. virtual BOOL OnInitDialog();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. private:
  47. BOOL m_bEnable;
  48. BOOL m_bHours;
  49. };