?? chat server.h
字號:
// Chat Server.h : main header file for the Chat Server application
//
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CChatServerApp:
// See Chat Server.cpp for the implementation of this class
//
class CChatServerApp : public CWinApp
{
public:
CChatServerApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChatServerApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
public:
BOOL EnableStartOnTaskBar (BOOL bEnable = TRUE)
{
BOOL bRes = GetProfileInt (_T ("StartUp"), _T ("StartOnTaskBarAllowed"), FALSE);
WriteProfileInt (_T ("StartUp"), _T ("StartOnTaskBarAllowed"), bEnable);
return (bRes);
}
// Implementation
//{{AFX_MSG(CChatServerApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
};
/////////////////////////////////////////////////////////////////////////////
inline BOOL AfxEnableStartOnTaskBar (BOOL bEnable = TRUE)
{
return (((CChatServerApp *)AfxGetApp ())->EnableStartOnTaskBar (bEnable));
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -