SetLeftBar.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #if !defined(AFX_SETLEFTBAR_H__5C1DEAE2_AEE6_4490_8A22_19C5EF1EC5E8__INCLUDED_)
  2. #define AFX_SETLEFTBAR_H__5C1DEAE2_AEE6_4490_8A22_19C5EF1EC5E8__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SetLeftBar.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // SetLeftBar dialog
  10. class SetLeftBar : public CDialog
  11. {
  12. CArray<CStringArray, CStringArray>List1array;
  13. CArray<CButton*, CButton*>m_pCheckArray;
  14. CString m_rights;
  15. // Construction
  16. public:
  17. BOOL IsHeader(CString name);
  18. BOOL IsHasRightsItem(CString rights, CString head, CString name);
  19. BOOL IsHasRightsHead(CString rights, CString name);
  20. CString m_account;
  21. void SetRights(CString rights);
  22. SetLeftBar(CWnd* pParent = NULL); // standard constructor
  23. // Dialog Data
  24. //{{AFX_DATA(SetLeftBar)
  25. enum { IDD = IDD_DLGSetLeftBar };
  26. // NOTE: the ClassWizard will add data members here
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(SetLeftBar)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. // Generated message map functions
  37. //{{AFX_MSG(SetLeftBar)
  38. virtual BOOL OnInitDialog();
  39. afx_msg void OnDestroy();
  40. virtual void OnOK();
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_SETLEFTBAR_H__5C1DEAE2_AEE6_4490_8A22_19C5EF1EC5E8__INCLUDED_)