00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #include "stdafx.h" 00007 #include "FdmApp.h" 00008 #include "CBD_SeeResultsDlg.h" 00009 #include "vmsBatchList.h" 00010 00011 #ifdef _DEBUG 00012 #define new DEBUG_NEW 00013 #undef THIS_FILE 00014 static char THIS_FILE[] = __FILE__; 00015 #endif 00016 00017 CCBD_SeeResultsDlg::CCBD_SeeResultsDlg(CWnd* pParent ) 00018 : CDialog(CCBD_SeeResultsDlg::IDD, pParent) 00019 { 00020 m_bl = NULL; 00021 } 00022 00023 void CCBD_SeeResultsDlg::DoDataExchange(CDataExchange* pDX) 00024 { 00025 CDialog::DoDataExchange(pDX); 00026 //{{AFX_DATA_MAP(CCBD_SeeResultsDlg) 00027 DDX_Control(pDX, IDC_LIST, m_wndList); 00028 //}}AFX_DATA_MAP 00029 } 00030 00031 BEGIN_MESSAGE_MAP(CCBD_SeeResultsDlg, CDialog) 00032 //{{AFX_MSG_MAP(CCBD_SeeResultsDlg) 00033 //}}AFX_MSG_MAP 00034 END_MESSAGE_MAP() 00035 00036 BOOL CCBD_SeeResultsDlg::OnInitDialog() 00037 { 00038 CDialog::OnInitDialog(); 00039 00040 CRect rc; 00041 m_wndList.GetClientRect (&rc); 00042 m_wndList.InsertColumn (0, "", LVCFMT_LEFT, rc.right); 00043 00044 for (int i = 0; i < m_bl->get_ResultCount (); i++) 00045 m_wndList.InsertItem (i, m_bl->get_Result (i)); 00046 00047 SetWindowText (LS (L_SEERESULTS)); 00048 00049 return TRUE; 00050 } 00051
1.5.6