naptr.cpp
来自「再贡献一份基于osip 协议栈的用户代理」· C++ 代码 · 共 64 行
CPP
64 行
// 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 + =
减小字号Ctrl + -
显示快捷键?