📄 readme.wzd
字号:
/////////////////////////////////////////////////////////////////////
// Modify the CMainFrame class....
/////////////////////////////////////////////////////////////////////
// 1) Allow your application to accept dropped files by calling the
// following from your CMainFrame's OnCreate() message handler:
// allow files to be dropped on main window or any child window
DragAcceptFiles();
// 2) Add a WM_DROPFILES message handler to your CMainFrame class:
void CMainFrame::OnDropFiles(HDROP hDropInfo)
{
// get filename stored in hDropInfo and use app to open it
TCHAR szFileName[_MAX_PATH];
::DragQueryFile(hDropInfo, 0, szFileName, _MAX_PATH);
::DragFinish(hDropInfo);
AfxGetApp()->OpenDocumentFile(szFileName);
CMDIFrameWnd::OnDropFiles(hDropInfo);
}
/////////////////////////////////////////////////////////////////////
// From: Visual C++ MFC Programming by Example by John E. Swanke
// Copyright (C) 1999 jeswanke. All rights reserved.
/////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -