peekpocket.cpp

来自「Wifi扫描器和自定义MFC控件 Wifi scanner + custom 」· C++ 代码 · 共 56 行

CPP
56
字号
// PeekPocket.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "PeekPocket.h"
#include "PPDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CPeekPocketApp

BEGIN_MESSAGE_MAP(CPeekPocketApp, CWinApp)
END_MESSAGE_MAP()


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


// The one and only CPeekPocketApp object
CPeekPocketApp theApp;

// CPeekPocketApp initialization

BOOL CPeekPocketApp::InitInstance()
{
    // SHInitExtraControls should be called once during your application's initialization to initialize any
    // of the Windows Mobile specific controls such as CAPEDIT and SIPPREF.
    SHInitExtraControls();

	// Standard initialization
	SetRegistryKey(_T("PeekPocket"));

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

	// Since the dialog has been closed, return false so that we exit the
	//  application, rather than start the application's message pump.
	return TRUE;
}

⌨️ 快捷键说明

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