📄 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__58D47A46_3CA1_48F6_A87D_F183BBE21C8D__INCLUDED_)
#define AFX_STDAFX_H__58D47A46_3CA1_48F6_A87D_F183BBE21C8D__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 Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxmt.h>
#include <AFXPRIV.H>
#include <afxtempl.h>
#include <shlobj.h>
//#include "shfolder.h"
#include "resource.h"
#include "net_lib.h"
#include "thread_pool.h"
#include "NET.H"
#include "udp.h"
#include "tcp.h"
#include "bubble_protocols.h"
#include "log.h"
#include "cfg.h"
#include "file_sys.h"
#include "bubblelib.h"
#include "gameuser.h"
#include "gameplayer.h"
#include "gametable.h"
#include "BubbleServer.h"
#include "Bubble_Server.h"
#include "BubbleServerDlg.h"
#define TIMER_LOOP 1
#include <shlobj.h>
#include "shfolder.h"
const FLOAT const_PI_DIV_2 = 1.57079632679489655800f; // Pi / 2
#define SCENE_WIDTH 8
#define SCENE_HEIGHT 14
#define FTPSTAT_DOWNLOADSUCCEEDED 2
#define FTPSTAT_UPLOADSUCCEEDED 3
#define FTPSTAT_DOWNLOADFAILED 4
#define FTPSTAT_UPLOADFAILED 5
#define WM_THREADSTART WM_USER+200
#define WM_THREADCLOSE WM_USER+201
#define WM_THREADMSG WM_USER+202
#define WM_ADDTRACELINE WM_USER+203
extern CString BrowseForFolder(HWND hWnd, LPCSTR lpszTitle, UINT nFlags);
extern void DoEvents();
extern void GetAppDir(CString& strAppDir);
extern BOOL WaitWithMessageLoop(HANDLE hEvent, int nTimeout);
PFNSHGETFOLDERPATHA GetFuncPtr_SHGetFolderPathA();
extern HRESULT CreateStartMenuShortcut(LPSTR lpszShortcutFile, LPSTR lpszDescription, LPTSTR lpszRelativeFolder);
extern void RemoveStartMenuShortcut(LPSTR lpszDescription, LPTSTR lpszRelativeFolder);
extern CString GetShortcutTarget(LPCTSTR lpszFilename);
void AutoSizeColumns(CListCtrl *pListCtrl);
BOOL MakeSureDirectoryPathExists(LPCTSTR lpszDirPath);
extern CBubbleServerDlg g_server;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__58D47A46_3CA1_48F6_A87D_F183BBE21C8D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -