tok.cpp

来自「在网页中调用VC写的对话框?谕持械饔肰C写的对话框?谕持械饔肰C写的对话框」· C++ 代码 · 共 51 行

CPP
51
字号
// Tok.cpp : implementation file
//

#include "stdafx.h"
#include "ocxtest.h"
#include "Tok.h"

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

/////////////////////////////////////////////////////////////////////////////
// CTok dialog


CTok::CTok(CWnd* pParent /*=NULL*/)
	: CDialog(CTok::IDD, pParent)
{
	//{{AFX_DATA_INIT(CTok)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


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


BEGIN_MESSAGE_MAP(CTok, CDialog)
	//{{AFX_MSG_MAP(CTok)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTok message handlers

void CTok::OnOK() 
{
	// TODO: Add extra validation here
	AfxMessageBox("This Ocx!");
	
	CDialog::OnOK();
}

⌨️ 快捷键说明

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