📄 mywnd.h
字号:
// MyWnd.h: interface for the CMyWnd class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MYWND_H__A47FE6F7_7161_4ABD_ADE5_A84A7B980E9B__INCLUDED_)
#define AFX_MYWND_H__A47FE6F7_7161_4ABD_ADE5_A84A7B980E9B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MyLabel.h"
#include "MySelectBox.h" // Added by ClassView
#include "MySheetcontrol.h" // Added by ClassView
#include "MySheetpage.h" // Added by ClassView
#include "MyWizardcontrol.h" // Added by ClassView
#include "StdAfx.h" // Added by ClassView
class CMyWnd : public CWnd
{
DECLARE_DYNCREATE(CMyWnd);
public:
bool bChengnuoQ;
bool bChengnuo;
bool bZixun;
int iCurrentLabel;
int ShortMsgIndex;
ShortMsg shortmsg[MAX_PERSON];
void UpDownline(UDP_MSG *Recvmsg,char *RequestAddr);
bool bFlush;
CFont *font,*font2;
bool bIsOnline;
SOCKET MyUdpSocket,MyTCPSocket;
OnlineList *onlinelist;
void TranslateMyMsg(char *msg,int colNo,COLCONTENT *colContent);
bool bAutoClose;
CString sSeverAddress;
CMyWizardcontrol *Wizardcontrol;
bool bIsDBClick;
CMyLabel *pParentLabel;
CPtrArray arDialogs;
int iFlag;
CMySheetcontrol *PageControl;
CMySelectBox *SelectBox,*SelectBox1,*SelectBox2;
int iRountAngle;
COLORREF crBackground;
CRect WndRect;
int Create(DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID,int flag);
CMyWnd();
virtual ~CMyWnd();
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
//{{AFX_MSG(CPage1
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnPaint();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
//}}AFX_MSG
afx_msg void OnAcceptMessage(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
#endif // !defined(AFX_MYWND_H__A47FE6F7_7161_4ABD_ADE5_A84A7B980E9B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -