?? ncdialogbar.cpp
字號:
// NCDialogBar.cpp : 實現文件
//
#include "stdafx.h"
#include "NCSimulaSys.h"
#include "NCDialogBar.h"
// CNCDialogBar
IMPLEMENT_DYNAMIC(CNCDialogBar, CBCGPDialogBar)
CNCDialogBar::CNCDialogBar()
{
}
CNCDialogBar::~CNCDialogBar()
{
}
BEGIN_MESSAGE_MAP(CNCDialogBar, CBCGPDialogBar)
ON_WM_CREATE()
ON_WM_SIZE()
END_MESSAGE_MAP()
// CNCDialogBar 消息處理程序
void CNCDialogBar::OnSize(UINT nType, int cx, int cy)
{
__super::OnSize(nType, cx, cy);
// TODO: 在此處添加消息處理程序代碼
CWnd *pWnd = GetDlgItem(IDC_VIEWER);
if(pWnd != NULL)
pWnd->MoveWindow(0,0,cx,cy);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -