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.

94 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. Limit.h : header file
  5. File History:
  6. JonY Apr-96 created
  7. --*/
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CAddWorkstation dialog
  10. class CAddWorkstation : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CAddWorkstation(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CAddWorkstation)
  17. enum { IDD = IDD_ADD_WKS_DIALOG };
  18. CString m_csWorkstation;
  19. //}}AFX_DATA
  20. CListBox* pListBox;
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CAddWorkstation)
  24. protected:
  25. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. protected:
  29. // Generated message map functions
  30. //{{AFX_MSG(CAddWorkstation)
  31. afx_msg void OnAdd();
  32. afx_msg void OnClose();
  33. afx_msg void OnChangeWorkstationEdit();
  34. //}}AFX_MSG
  35. DECLARE_MESSAGE_MAP()
  36. };
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CLimitLogon dialog
  39. class CLimitLogon : public CWizBaseDlg
  40. {
  41. DECLARE_DYNCREATE(CLimitLogon)
  42. // Construction
  43. public:
  44. CLimitLogon();
  45. ~CLimitLogon();
  46. // Dialog Data
  47. //{{AFX_DATA(CLimitLogon)
  48. enum { IDD = IDD_LOGONTO_DLG };
  49. CListBox m_lbWksList;
  50. int m_nWorkstationRadio;
  51. CString m_csCaption;
  52. //}}AFX_DATA
  53. // Overrides
  54. // ClassWizard generate virtual function overrides
  55. //{{AFX_VIRTUAL(CLimitLogon)
  56. protected:
  57. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  58. //}}AFX_VIRTUAL
  59. LRESULT OnWizardNext();
  60. LRESULT OnWizardBack();
  61. // Implementation
  62. protected:
  63. // Generated message map functions
  64. //{{AFX_MSG(CLimitLogon)
  65. afx_msg void OnAddButton();
  66. afx_msg void OnRemoveButton();
  67. afx_msg void OnWorkstationRadio();
  68. afx_msg void OnWorkstationRadio2();
  69. afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  70. afx_msg void OnSetfocusList1();
  71. //}}AFX_MSG
  72. DECLARE_MESSAGE_MAP()
  73. private:
  74. void Toggle(BOOL bParam);
  75. };