📄 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__FBC7E55A_3B24_4C9C_994C_6FE9AA6D098F__INCLUDED_)
#define AFX_STDAFX_H__FBC7E55A_3B24_4C9C_994C_6FE9AA6D098F__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 "MyLabel.h"
#include <winsock2.h>
#define MAX_PERSON 50 //同时支持的最大用户数
class CMyMsg
{
public:
UINT id;
int act;
int skip;
CMyLabel *label;
};
struct TRANSFER_DATA
{
char cMsg[15][300];
};
struct CONTROL_INFO
{
int iDirection;
int iStartNo;
int iTransferForm;
int iReturn;
int iRecordcount;
char cFilename[30];
char cSqlstate[300];
};
struct UDP_MSG
{
char flag[6];
char content[294];
};
struct OnlineList
{
struct windowInfo
{
char windowNo[6];
char windowName[20];
char personName[10];
char windowAddress[20];
char personSex[4];
char hostName[20];
};
int AllCount;
windowInfo wInfo[MAX_PERSON];
};
struct COLCONTENT
{
char content[20][300];
};
struct shortmsgitem
{
char message[294];
int flag;
};
struct ShortMsg
{
int iCurrentMsg;
CPtrArray msg;
};
#define IDC_MYWND WM_USER + 1001
#define WM_ACCEPT WM_USER + 1002
#define IDC_TITLEBUTTON WM_USER + 1003
#define IDC_RIGHTTITLE WM_USER + 1011
#define IDC_CLIENTWND WM_USER + 1012
#define IDC_TITLELABEL WM_USER + 1004
#define IDC_SELECTBOX WM_USER + 1005
#define IDC_PAGECONTROL WM_USER + 1006
#define IDC_QQFACE WM_USER + 1007
#define WM_TASKBAR WM_USER + 1008
#define IDC_MYOK WM_USER + 1009
#define IDC_MYCANCEL WM_USER + 1010
#define IDC_MYUP WM_USER + 1013
#define IDC_MYDOWN WM_USER + 1014
#define IDC_SEARCH WM_USER + 1015
#define IDC_MSGUP WM_USER + 1022
#define IDC_MSGDOWN WM_USER + 1023
#define IDC_MSGRE WM_USER + 1024
#define IDC_MSGSEND WM_USER + 1025
#define IDC_TJSELECTJIAN WM_USER + 1026
#define IDC_TJSELECTPHOTO WM_USER + 1027
#define IDC_DOWNPAGE WM_USER + 1028
#define IDC_UPPAGE WM_USER + 1029
#define IDC_CONTENTSELECT WM_USER + 1030
#define IDC_CNSEND WM_USER + 1031
#define IDC_SELECTSTATE WM_USER + 1042
#define IDC_SELECTWINDOW WM_USER + 1043
#define IDC_SELECTBOX1 WM_USER + 1044
#define IDC_SELECTBOX2 WM_USER + 1045
#define IDC_RECORDLIST WM_USER + 1046
#define IDC_SEARCHMOD WM_USER + 1047
#define IDC_SEARCHDEL WM_USER + 1048
#define IDC_CXSELECT1 WM_USER + 1035
#define IDC_CXSELECT2 WM_USER + 1036
#define IDC_SCROLLPAGE WM_USER + 1040
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__FBC7E55A_3B24_4C9C_994C_6FE9AA6D098F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -