91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3.03MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-09
  • 語言: C/C++
  • 標簽: MFC??POP3??

資源簡介

一個POP3協議 MFC程序。 對初學者有用

資源截圖

代碼片段和文件信息

//?ChooseDlg.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“pop3.h“
#include?“pop3Dlg.h“
#include?“ViewDlg.h“
#include?“ChooseDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CChooseDlg?dialog


CChooseDlg::CChooseDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CChooseDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CChooseDlg)
//?NOTE:?the?ClassWizard?will?add?member?initialization?here
//}}AFX_DATA_INIT
}


void?CChooseDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CChooseDlg)
DDX_Control(pDX?IDC_MSGLIST?ctlList);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CChooseDlg?CDialog)
//{{AFX_MSG_MAP(CChooseDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CChooseDlg?message?handlers

void?CChooseDlg::AddToList(CString?s)
{
ctlList.AddString((LPCSTR)s);
}

BOOL?CChooseDlg::OnInitDialog()?
{
CDialog::OnInitDialog();

//?TODO:?Add?extra?initialization?here
CPop3Dlg*?par;
par=(CPop3Dlg*)GetParent();?//獲得父窗體
for(int?i=0;ipop3.GetRetrMsgNum();i++)
{
AddToList(par->pop3.GetMsgSubject(i));
}
ctlList.SetCurSel(0);
return?TRUE;??
??????????????
}

void?CChooseDlg::OnOK()?
{
//?TODO:?Add?extra?validation?here
CPop3Dlg*?par;
par=(CPop3Dlg*)GetParent();
CViewDlg?dlg;?
//獲得信件的基本屬性以及信件內容
dlg.text=par->pop3.GetMsgStuff(ctlList.GetCurSel());
dlg.text+=par->pop3.GetMsgBody(0);
dlg.DoModal();
//CDialog::OnOK();
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1690??2002-09-06?23:16??pop3高級程序開發\ChooseDlg.cpp

?????文件???????1241??2002-03-28?09:38??pop3高級程序開發\ChooseDlg.h

?????文件??????27267??2009-04-22?20:19??pop3高級程序開發\Debug\ChooseDlg.obj

?????文件?????258580??2009-04-22?20:19??pop3高級程序開發\Debug\ChooseDlg.sbr

?????文件??????17881??2009-04-22?20:19??pop3高級程序開發\Debug\Gniazdo.obj

?????文件?????256283??2009-04-22?20:19??pop3高級程序開發\Debug\Gniazdo.sbr

?????文件?????139345??2009-04-22?20:19??pop3高級程序開發\Debug\pop3.exe

?????文件?????311008??2009-04-22?20:19??pop3高級程序開發\Debug\pop3.ilk

?????文件??????24088??2009-04-22?20:19??pop3高級程序開發\Debug\pop3.obj

?????文件????6941372??2009-04-22?20:19??pop3高級程序開發\Debug\pop3.pch

?????文件?????369664??2009-04-22?20:19??pop3高級程序開發\Debug\pop3.pdb

?????文件???????3136??2009-04-22?20:19??pop3高級程序開發\Debug\pop3.res

?????文件?????256860??2009-04-22?20:19??pop3高級程序開發\Debug\pop3.sbr

?????文件??????80943??2009-04-22?20:19??pop3高級程序開發\Debug\Pop31.obj

?????文件?????271139??2009-04-22?20:19??pop3高級程序開發\Debug\Pop31.sbr

?????文件??????39361??2009-04-22?20:19??pop3高級程序開發\Debug\pop3Dlg.obj

?????文件?????259378??2009-04-22?20:19??pop3高級程序開發\Debug\pop3Dlg.sbr

?????文件?????106756??2009-04-22?20:19??pop3高級程序開發\Debug\StdAfx.obj

?????文件????1391549??2009-04-22?20:19??pop3高級程序開發\Debug\StdAfx.sbr

?????文件?????263168??2009-04-22?20:21??pop3高級程序開發\Debug\vc60.idb

?????文件?????462848??2009-04-22?20:19??pop3高級程序開發\Debug\vc60.pdb

?????文件??????16774??2009-04-22?20:19??pop3高級程序開發\Debug\ViewDlg.obj

?????文件???????2479??2009-04-22?20:19??pop3高級程序開發\Debug\ViewDlg.sbr

?????文件???????1271??2002-03-28?19:30??pop3高級程序開發\Gniazdo.cpp

?????文件???????1431??2002-09-06?20:35??pop3高級程序開發\Gniazdo.h

?????文件??????22248??2002-11-20?12:58??pop3高級程序開發\pop3.aps

?????文件???????2119??2002-03-27?17:22??pop3高級程序開發\pop3.cpp

?????文件???????4656??2002-09-03?10:09??pop3高級程序開發\pop3.dsp

?????文件????????533??2009-04-22?20:18??pop3高級程序開發\pop3.dsw

?????文件???????1302??2002-03-27?16:39??pop3高級程序開發\pop3.h

............此處省略22個文件信息

評論

共有 條評論