📄 stdafx.h
字号:
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
#if !defined(AFX_STDAFX_H__B7C54BCB_A555_11D0_8996_00AA00B92B2E__INCLUDED_)
#define AFX_STDAFX_H__B7C54BCB_A555_11D0_8996_00AA00B92B2E__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC OLE automation classes
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxsock.h> // MFC socket extensions
#include <afxmt.h>
#include <Wininet.h>
#include <atlbase.h>
//extern CComModule _Module;
//#include <atlcom.h>
#define WM_THREADSTART WM_USER+200
#define WM_THREADCLOSE WM_USER+201
#define WM_ADDTRACELINE WM_USER+202
//#define WM_DESTROYDATACONNECTION WM_USER+203
BOOL WaitWithMessageLoop(HANDLE hEvent, int nTimeout);
void DoEvents();
CString BrowseForFolder(HWND hWnd, LPCSTR lpszTitle, UINT nFlags);
BOOL MakeSureDirectoryPathExists(LPCTSTR lpszDirPath);
BOOL FileExists(LPCTSTR lpszFileName, BOOL bIsDirCheck);
BOOL IsSubDirectory(LPCTSTR lpszDirectory, LPCTSTR lpszSubDirectory);
CString GetFileDate(CFileFind &find);
CString DecodeURL(const CString& str, BOOL bQuery = FALSE);
CString ToString(int nValue);
void AutoSizeColumns(CListCtrl *pListCtrl);
CString URLDecode(LPCTSTR lpszURL);
BOOL AfxIsUnsafeUrlChar(char chIn);
void CopyToCString(CString& string, LPCSTR pStart, LPCSTR pEnd);
#include <comdef.h>
//#import "c:\windows\system32\scrrun.dll" no_namespace rename("FreeSpace", "FreeSpaceEx") rename("Unknown", "Unk") rename("Folder", "FolderEx")
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__B7C54BCB_A555_11D0_8996_00AA00B92B2E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -