readme.wzd
来自「MFC扩展编程实例」· WZD 代码 · 共 42 行
WZD
42 行
/////////////////////////////////////////////////////////////////////
// Example files.
/////////////////////////////////////////////////////////////////////
WzdBtmap.cpp -- a bitmap class that has its own palette
WzdBtmap.h
WzdLogo.cpp -- a window class that draws a bitmap
WzdLogo.h
WzdTlbar.cpp -- a toolbar class that creates a window in its far
WzdTlbar.h right corner
/////////////////////////////////////////////////////////////////////
// Modify the Mainframe Class.
/////////////////////////////////////////////////////////////////////
// 1) use the new toolbar class
CWzdToolbar m_wndToolBar;
// 2) disable docking for toolbars
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
: : :
// comment out or delete these lines
// m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
// EnableDocking(CBRS_ALIGN_ANY);
// DockControlBar(&m_wndToolBar);
return 0;
}
// 3) to create a static logo in a dockable toolbar, please refer to
// this example in he book
/////////////////////////////////////////////////////////////////////
// From: Visual C++ MFC Programming by Example by John E. Swanke
// Copyright (C) 1999 jeswanke. All rights reserved.
/////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?