⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dlg.cpp

📁 c++程序
💻 CPP
字号:
// Dlg.cpp: Implementierung der Klasse CDlg.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "Dlg.h"
#include "resource.h"

//////////////////////////////////////////////////////////////////////
// Konstruktion/Destruktion
//////////////////////////////////////////////////////////////////////

CDlg::CDlg()
{

}

CDlg::~CDlg()
{

}

static LRESULT CALLBACK DialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
	switch(message)
	{
		case WM_INITDIALOG:
				return TRUE;

		case WM_COMMAND:
			if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) 
			{
				EndDialog(hDlg, LOWORD(wParam));
				return TRUE;
			}
			break;
	}
    return FALSE;
}

int CDlg::ShowDialog(HINSTANCE hInstance, HWND hWnd)
{
	return DialogBox(hInstance, (LPCTSTR) IDD_OPENLANDSCAPE, hWnd, (DLGPROC) DialogProc);
}

⌨️ 快捷键说明

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