home *** CD-ROM | disk | FTP | other *** search
- #include "stdafx.h"
- #include "cmdlearn.h"
- #include "dlgcombo.h"
-
- CComboDialog::CComboDialog(CWnd* pParent /*=NULL*/)
- : CDialog(IDD_COMBOCOMBO, pParent)
- {
- }
-
- //////////////////
- // Initialize the dialog: subclass the combo box.
- //
- BOOL CComboDialog::OnInitDialog()
- {
- CDialog::OnInitDialog();
- if (!m_combo.SubclassControls(this, IDC_COMBOCOMBO, IDC_ADD, IDC_DELETE))
- TRACE("Failed to subclass combo box.\n");
- return TRUE;
- }
-
- BEGIN_MESSAGE_MAP(CComboDialog, CDialog)
- //{{AFX_MSG_MAP(CComboDialog)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
-