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

資源簡介

仿QQ登陸聊天界面源碼C++ 有聊天功能 留言功能 登陸功能 用戶注冊功能 后臺服務器 在線人數等功能

資源截圖

代碼片段和文件信息

//?AGREEDLG.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“MyChat.h“
#include?“AGREEDLG.h“
#include?“AskDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CAGREEDLG?dialog


CAGREEDLG::CAGREEDLG(CClientSocket?*p_SocketCWnd*?pParent?/*=NULL*/)
:?CDialog(CAGREEDLG::IDD?pParent)
{
ASSERT(p_Socket);
m_pSocket?=?p_Socket;
m_pSocket->agreeDlg=this;
//{{AFX_DATA_INIT(CAGREEDLG)
//?NOTE:?the?ClassWizard?will?add?member?initialization?here
//}}AFX_DATA_INIT
}


void?CAGREEDLG::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAGREEDLG)
//?NOTE:?the?ClassWizard?will?add?DDX?and?DDV?calls?here
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAGREEDLG?CDialog)
//{{AFX_MSG_MAP(CAGREEDLG)
ON_WM_CTLCOLOR()
ON_BN_CLICKED(IDC_BTN_AGREE?OnBtnAgree)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CAGREEDLG?message?handlers

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

//?TODO:?Add?extra?initialization?here
m_brushcolor.CreateSolidBrush(RGB(255247222));
return?TRUE;??//?return?TRUE?unless?you?set?the?focus?to?a?control
??????????????//?EXCEPTION:?OCX?Property?Pages?should?return?FALSE
}

HBRUSH?CAGREEDLG::OnCtlColor(CDC*?pDC?CWnd*?pWnd?UINT?nCtlColor)?
{
HBRUSH?hbr?=?CDialog::OnCtlColor(pDC?pWnd?nCtlColor);

//?TODO:?Change?any?attributes?of?the?DC?here
if(nCtlColor==CTLCOLOR_DLG) ????????????????????
return?m_brushcolor;
if(pWnd->GetDlgCtrlID()==IDC_STATIC1)
{
pDC->SetBkMode(TRANSPARENT);
return?m_brushcolor;
}
//?TODO:?Return?a?different?brush?if?the?default?is?not?desired
return?hbr;
}

void?CAGREEDLG::OnBtnAgree()?
{
//?TODO:?Add?your?control?notification?handler?code?here
CDialog::OnOK();
CAskDlg*?dlg;
dlg?=?new?CAskDlg(m_pSocket);
dlg->DoModal();

}

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

?????文件??????35056??2011-04-15?23:07??ChatSourceCode\ChatClient\0.bmp

?????文件??????29048??2013-10-29?14:49??ChatSourceCode\ChatClient\2.bmp

?????文件???????2060??2011-04-15?23:07??ChatSourceCode\ChatClient\AGREEDLG.cpp

?????文件???????1414??2011-04-15?23:07??ChatSourceCode\ChatClient\AGREEDLG.h

?????文件???????3540??2011-04-17?09:53??ChatSourceCode\ChatClient\AskDlg.cpp

?????文件???????1451??2011-04-17?09:45??ChatSourceCode\ChatClient\AskDlg.h

?????文件???????5021??2011-04-17?17:10??ChatSourceCode\ChatClient\ClientSocket.cpp

?????文件???????1659??2011-04-16?14:52??ChatSourceCode\ChatClient\ClientSocket.h

?????文件??????16817??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\AGREEDLG.obj

?????文件??????????0??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\AGREEDLG.sbr

?????文件??????26128??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\AskDlg.obj

?????文件??????????0??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\AskDlg.sbr

?????文件??????22787??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\ClientSocket.obj

?????文件??????????0??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\ClientSocket.sbr

?????文件??????20609??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\Leave.obj

?????文件??????????0??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\Leave.sbr

?????文件??????22684??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\LoginDlg.obj

?????文件??????????0??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\LoginDlg.sbr

?????文件????5293056??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\MyChat.bsc

?????文件?????475235??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\MyChat.exe

?????文件?????303528??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\MyChat.ilk

?????文件??????17713??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\MyChat.obj

?????文件????7072780??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\MyChat.pch

?????文件?????467968??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\MyChat.pdb

?????文件?????276156??2013-10-29?14:50??ChatSourceCode\ChatClient\Debug\MyChat.res

?????文件??????????0??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\MyChat.sbr

?????文件??????51567??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\MyChatDlg.obj

?????文件??????????0??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\MyChatDlg.sbr

?????文件??????36448??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\Private.obj

?????文件??????????0??2013-10-30?15:35??ChatSourceCode\ChatClient\Debug\Private.sbr

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

評論

共有 條評論