crootform.cpp

来自「brew email program ,comfortable for the 」· C++ 代码 · 共 42 行

CPP
42
字号
#include "CRootForm.h"

CRootForm::CRootForm(AEEApplet* p)
{
	ISHELL_CreateInstance( p->m_pIShell, AEECLSID_ROOTFORM, (void**)&pIRootForm);
}

CRootForm::~CRootForm()
{
	RELEASEIF( this->pIRootForm );
}

void getClientRect(CRootForm *p, IXYContainer **c, AEERect *r)
{
	IROOTFORM_GetClientRect(p->pIRootForm, c, r);
}

boolean CRootForm::HandleEvent(CRootForm *p, AEEEvent e, uint16 w, uint32 d)
{
	return(IROOTFORM_HandleEvent(p->pIRootForm, e, w, d));
}

int CRootForm::popForm(CRootForm *po)
{
	return(IROOTFORM_PopForm(po->pIRootForm));
}

int CRootForm::pushForm(CRootForm *p, CForm *f)
{
	return(IROOTFORM_PushForm(p->pIRootForm, f->pIForm));
}

uint32 CRootForm::release(CRootForm *p)
{
	return(IROOTFORM_Release(p->pIRootForm));
}

int CRootForm::setThemeFileName(CRootForm *po, const char *name)
{
	return(IROOTFORM_SetThemeFileName(po->pIRootForm, name));
}

⌨️ 快捷键说明

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