readme.wzd
来自「Visual C++高级界面特效制作百例」· WZD 代码 · 共 42 行
WZD
42 行
/////////////////////////////////////////////////////////////////////
// Example files...
/////////////////////////////////////////////////////////////////////
WzdSplsh.cpp -- a window class that draws a bitmap
WzdSplsh.h
WzdBtmap.cpp -- a bitmap class that supports its own palette
WzdBtmap.h
/////////////////////////////////////////////////////////////////////
// Modify the Application Class.
/////////////////////////////////////////////////////////////////////
// 1) at the start of the InitInstance() override, create splash class
BOOL CWzdApp::InitInstance()
{
CWzdSplash wndSplash;
wndSplash.Create(IDB_WZDSPLASH);
wndSplash.UpdateWindow(); //send WM_PAINT
: : :
// 2) add at end of InitInstance() if splash screen too short
Sleep(2000);
// 3) end InitInstance as usual, splash class will automaticaly destroy
/ the splash window when it deconstructs
//The main window has been initialized, so show and update it.
pMainFrame->ShowWindow(m_nCmdShow);
pMainFrame->UpdateWindow();
return TRUE;
}
/////////////////////////////////////////////////////////////////////
// From: Visual C++ MFC Programming by Example by John E. Swanke
// Copyright (C) 1998 jeswanke. All rights reserved.
/////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?