📄 export.cpp
字号:
#include "stdafx.h"
#include "Export.h"
#include "DialogC.h"
int ShowDialogC( CString& text )
{
// Removing the following line will cause an First chance
// Exception during runtime when you call this function.
AFX_MANAGE_STATE(AfxGetStaticModuleState());
// If you use the following line of code you will get an assertation
// on line 884 of WinCore.CPP in the CWnd::AssertValid() function
// in debug mode
// CDialogC dlg;
// The work around is
CDialogC dlg( AfxGetMainWnd() );
dlg.m_sText = text;
int nReturn = dlg.DoModal();
if ( nReturn = IDOK )
text = dlg.m_sText;
return nReturn;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -