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.

29 lines
874 B

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1995 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10. class CListDlg : public CDialog
  11. {
  12. public:
  13. //{{AFX_DATA(CListDlg)
  14. enum { IDD = IDD_LISTDIALOG };
  15. //}}AFX_DATA
  16. CListDlg::CListDlg(UINT idStrDlgTitle, UINT idStrListTitle,
  17. const CStringList& listItems, int nDefSel=0);
  18. CString m_strDlgTitle,m_strListTitle;
  19. const CStringList& m_listItems;
  20. int m_nSelection;
  21. protected:
  22. BOOL OnInitDialog();
  23. //{{AFX_MSG(CListDlg)
  24. afx_msg void OnOK();
  25. //}}AFX_MSG
  26. DECLARE_MESSAGE_MAP()
  27. };