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
29 lines
874 B
// This is a part of the Microsoft Foundation Classes C++ library.
|
|
// Copyright (C) 1992-1995 Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
// This source code is only intended as a supplement to the
|
|
// Microsoft Foundation Classes Reference and related
|
|
// electronic documentation provided with the library.
|
|
// See these sources for detailed information regarding the
|
|
// Microsoft Foundation Classes product.
|
|
|
|
class CListDlg : public CDialog
|
|
{
|
|
public:
|
|
//{{AFX_DATA(CListDlg)
|
|
enum { IDD = IDD_LISTDIALOG };
|
|
//}}AFX_DATA
|
|
CListDlg::CListDlg(UINT idStrDlgTitle, UINT idStrListTitle,
|
|
const CStringList& listItems, int nDefSel=0);
|
|
CString m_strDlgTitle,m_strListTitle;
|
|
const CStringList& m_listItems;
|
|
int m_nSelection;
|
|
|
|
protected:
|
|
BOOL OnInitDialog();
|
|
//{{AFX_MSG(CListDlg)
|
|
afx_msg void OnOK();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|