SourceCodeSky QQ客服 SourceCodeSky 400电话 客服电话 暂无

MyQQ.cpp ( 文件浏览 )

  • keepall 发布于 2016-08-23 22:18
  • 浏览次数:451
  • 下载次数: 8
  • 下载需 10 积分
  • 侵权举报
// MyQQ.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "MyQQ.h"
#include "MyQQDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMyQQApp

BEGIN_MESSAGE_MAP(CMyQQApp, CWinApp)
    //{{AFX_MSG_MAP(CMyQQApp)
        // NOTE - the ClassWizard will add and remove mapping macros here.
        //    DO NOT EDIT what you see in these blocks of generated code!
    //}}AFX_MSG
    ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyQQApp construction

CMyQQApp::CMyQQApp()
{
    // TODO: add construction code here,
    // Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CMyQQApp object

CMyQQApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CMyQQApp initialization

BOOL CMyQQApp::InitInstance()
{
    if (!AfxSocketInit())
    {
        AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
        return FALSE;
    }

    AfxEnableControlContainer();

    // Standard initialization
    // If you are not using these features and wish to reduce the size
    //  of your final executable, you should remove from the following
    //  the specific initialization routines you do not need.

#ifdef _AFXDLL
    Enable3dControls();            // Call this when using MFC in a shared DLL
#else
    Enable3dControlsStatic();    // Call this when linking to MFC statically
#endif

    CMyQQDlg dlg;
    m_pMainWnd = &dlg;
    int nResponse = dlg.DoModal();
    if (nResponse == IDOK)
    {
        // TODO: Place code here to handle when the dialog is
        //  dismissed with OK
    }
    else if (nResponse == IDCANCEL)
    {
        // TODO: Place code here to handle when the dialog is
        //  dismissed with Cancel
    }

    // Since the dialog has been closed, return FALSE so that we exit the
    //  application, rather than start the application's message pump.
    return FALSE;
}
			
...
展开> <收缩

下载源码到电脑,阅读使用更方便

1 积分

快速下载
还剩0行未阅读,继续阅读
免费下载源码
Sponsored links

源码文件列表

温馨提示: 点击源码文件名可预览文件内容哦 ^_^
...
名称 大小 修改日期
/MyQQ/ 0 Bytes 2003-04-15 11:18:02
/MyQQ/MyQQ.aps 36.94 KB 2003-04-15 11:00:48
/MyQQ/MyQQ.clw 2.10 KB 2003-04-15 11:14:48
/MyQQ/MyQQ.cpp 2.08 KB 2003-04-05 09:22:28
/MyQQ/MyQQ.dsp 4.02 KB 2003-04-09 18:54:52
/MyQQ/MyQQ.dsw 533 Bytes 2003-04-05 09:22:28
/MyQQ/MyQQ.h 1.27 KB 2003-04-05 09:22:28
/MyQQ/MyQQ.ncb 81.00 KB 2003-04-15 11:18:04
/MyQQ/MyQQ.opt 48.50 KB 2003-04-15 11:18:02
/MyQQ/MyQQ.plg 1.61 KB 2003-04-15 11:13:52
/MyQQ/MyQQ.rc 6.84 KB 2003-04-15 11:00:48
/MyQQ/MyQQDlg.cpp 30.29 KB 2003-04-15 10:59:52
/MyQQ/MyQQDlg.h 2.68 KB 2003-04-15 10:57:30
/MyQQ/ReadMe.txt 3.46 KB 2003-04-05 09:22:28
/MyQQ/Release/ 0 Bytes 2003-04-15 11:23:14
/MyQQ/res/ 0 Bytes 2003-04-10 14:49:28
/MyQQ/resource.h 1.47 KB 2003-04-10 19:07:06
/MyQQ/StdAfx.cpp 206 Bytes 2003-04-05 09:22:28
/MyQQ/StdAfx.h 1.08 KB 2003-04-05 09:22:28
/MyQQ/Release/MyQQ.exe 40.00 KB 2008-06-03 16:25:26
/MyQQ/res/MyQQ.ico 1.05 KB 2003-04-05 09:22:28
/MyQQ/res/MyQQ.rc2 396 Bytes 2003-04-05 09:22:28
Sponsored links
正在加载中……

Switch to the English version?

Yes
SourceCodeSky 英文版
No
SourceCodeSky 中文版

完善个人资料,获价值¥30元积分奖励!