httpclient.cpp

来自「Vc.Net入门与提高源码」· C++ 代码 · 共 46 行

CPP
46 行
字号
// HttpClient.cpp : Defines the class behaviors for the application.
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Classes Reference and related electronic
// documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft C++ Libraries products.

#include "stdafx.h"
#include "HttpClient.h"
#include "HttpClientDlg.h"

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



BEGIN_MESSAGE_MAP(CHttpClientApp, CWinApp)
	ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()



CHttpClientApp theApp;


BOOL CHttpClientApp::InitInstance()
{
	CWinApp::InitInstance();

	AfxEnableControlContainer();

	CHttpClientDlg dlg;

	m_pMainWnd = &dlg;

	dlg.DoModal();

	return FALSE;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?