📄 naptr.cpp
字号:
// Naptr.cpp : implementation file
//
#include "stdafx.h"
#include "RtcOutgoing.h"
#include "Naptr.h"
#include ".\naptr.h"
// CNaptr dialog
IMPLEMENT_DYNCREATE(CNaptr, CDHtmlDialog)
CNaptr::CNaptr(CWnd* pParent /*=NULL*/)
: CDHtmlDialog(CNaptr::IDD, CNaptr::IDH, pParent)
{
}
CNaptr::~CNaptr()
{
}
void CNaptr::DoDataExchange(CDataExchange* pDX)
{
CDHtmlDialog::DoDataExchange(pDX);
}
BOOL CNaptr::OnInitDialog()
{
CDHtmlDialog::OnInitDialog();
return TRUE; // return TRUE unless you set the focus to a control
}
BEGIN_MESSAGE_MAP(CNaptr, CDHtmlDialog)
ON_BN_CLICKED(IDOK, OnBnClickedOk)
END_MESSAGE_MAP()
BEGIN_DHTML_EVENT_MAP(CNaptr)
DHTML_EVENT_ONCLICK(_T("ButtonOK"), OnButtonOK)
DHTML_EVENT_ONCLICK(_T("ButtonCancel"), OnButtonCancel)
END_DHTML_EVENT_MAP()
// CNaptr message handlers
HRESULT CNaptr::OnButtonOK(IHTMLElement* /*pElement*/)
{
OnOK();
return S_OK; // return TRUE unless you set the focus to a control
}
HRESULT CNaptr::OnButtonCancel(IHTMLElement* /*pElement*/)
{
OnCancel();
return S_OK; // return TRUE unless you set the focus to a control
}
void CNaptr::OnBnClickedOk()
{
// TODO: Add your control notification handler code here
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -