Leaked source code of windows server 2003
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.

68 lines
1.9 KiB

  1. /////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000-2001.
  5. //
  6. // File: AddApprovalDlg.h
  7. //
  8. // Contents: Definition of CAddApprovalDlg
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_ADDAPPROVALDLG_H__1BB4F754_0009_4237_A82A_B533CB46C543__INCLUDED_)
  12. #define AFX_ADDAPPROVALDLG_H__1BB4F754_0009_4237_A82A_B533CB46C543__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // AddApprovalDlg.h : header file
  17. //
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CAddApprovalDlg dialog
  20. class CAddApprovalDlg : public CHelpDialog
  21. {
  22. // Construction
  23. public:
  24. virtual ~CAddApprovalDlg();
  25. PSTR* m_paszReturnedApprovals;
  26. void EnableControls ();
  27. CAddApprovalDlg(CWnd* pParent, const PSTR* paszUsedApprovals);
  28. // Dialog Data
  29. //{{AFX_DATA(CAddApprovalDlg)
  30. enum { IDD = IDD_ADD_APPROVAL };
  31. CListBox m_issuanceList;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CAddApprovalDlg)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. virtual void DoContextHelp (HWND hWndControl);
  42. bool ApprovalAlreadyUsed (PCSTR pszOID) const;
  43. // Generated message map functions
  44. //{{AFX_MSG(CAddApprovalDlg)
  45. virtual BOOL OnInitDialog();
  46. virtual void OnOK();
  47. afx_msg void OnSelchangeApprovalList();
  48. afx_msg void OnDblclkApprovalList();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. private:
  52. const PSTR* m_paszUsedApprovals;
  53. };
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_ADDAPPROVALDLG_H__1BB4F754_0009_4237_A82A_B533CB46C543__INCLUDED_)