📄 cgriddialog.cpp
字号:
// cGridDialog.cpp: implementation of the cGridDialog class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "cGridDialog.h"
#include "cPushupButton.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
cGridDialog::cGridDialog()
{
m_type = WT_GRIDDIALOG;
}
cGridDialog::~cGridDialog()
{
}
void cGridDialog::Init(LONG x, LONG y, WORD wid, WORD hei, cImage * basicImage, cPushupButton * pCellWindow, WORD cellNum, LONG ID)
{
cDialog::Init(x,y,wid,hei,basicImage,ID);
m_type = WT_GRIDDIALOG;
m_pWindowCell = pCellWindow;
m_wCellNum = cellNum;
for(int i = 0 ; i < cellNum ; i++)
{
cPushupButton * node = new cPushupButton;
memcpy(node, &pCellWindow[i], sizeof(cPushupButton));
cDialog::Add(node);
}
SAFE_DELETE_ARRAY(pCellWindow);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -