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

📄 eventnotifydialog.cpp

📁 墨香最新私服
💻 CPP
字号:
// EventNotifyDialog.cpp: implementation of the CEventNotifyDialog class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "EventNotifyDialog.h"

#include "WindowIDEnum.h"
#include "./Interface/cStatic.h"
#include "./Interface/cTextArea.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CEventNotifyDialog::CEventNotifyDialog()
{
	m_pStcTitle		= NULL;
	m_pTAContext	= NULL;
}

CEventNotifyDialog::~CEventNotifyDialog()
{

}


void CEventNotifyDialog::Linking()
{
	m_pStcTitle = (cStatic*)GetWindowForID( GMOT_STC_TITLE );
	m_pTAContext = (cTextArea*)GetWindowForID( GMOT_TA_CONTEXT );
}

void CEventNotifyDialog::SetTitle( char* pStrTitle )
{
	if( m_pStcTitle )
		m_pStcTitle->SetStaticText( pStrTitle );
}

void CEventNotifyDialog::SetContext( char* pStrContext )
{
	if( m_pTAContext )
		m_pTAContext->SetScriptText( pStrContext );
}

⌨️ 快捷键说明

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