📄 msgwndowner.h
字号:
#if !defined(AFX_MSGWNDOWNER_H__86F690A3_1BE8_11D4_80A1_02608CDD55B8__INCLUDED_)
#define AFX_MSGWNDOWNER_H__86F690A3_1BE8_11D4_80A1_02608CDD55B8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MsgWndOwner.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMsgWndOwner dialog
//#include "MsgWnd.h"
class CMsgWndOwner : public CDialog
{
// Construction
public:
CPoint m_LedPoint;
BOOL m_bOnline;
void PaintMsgWnd();
BOOL SetMsgWndStatus(UINT nID, int nLine);
BOOL SetOnline(BOOL b);
BOOL SetMsgWndStatus(CString str,int nLine);
CMsgWndOwner(CWnd* pParent = NULL); // standard constructor
BOOL StopTimer();
BOOL StartTimer();
BOOL OnToolTipNotify( UINT id, NMHDR * pNMHDR, LRESULT * pResult );
// Dialog Data
//{{AFX_DATA(CMsgWndOwner)
enum { IDD = IDD_DIALOG_MSGWND };
CStatic m_cStatic1;
CStatic m_cMsg1;
CStatic m_cMsg2;
CStatic m_cPhonenum;
CString m_sMsg1;
CString m_sPhonenum;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMsgWndOwner)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
private:
char m_strAdURL[100];
CString m_sDialup;
CString m_sMsg2;
CBitmap m_BitmapBK;
CBrush m_brush;
LOGFONT m_logfont;
LOGFONT m_logfont2;
CImageList* m_pImageList;
int m_iTimer;
int m_iPos;
CRect m_Msg2Rect;
// Implementation
protected:
//CMsgWnd m_cMsgwnd;
// Generated message map functions
//{{AFX_MSG(CMsgWndOwner)
virtual BOOL OnInitDialog();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnClose();
afx_msg void OnNcDestroy();
afx_msg void OnStaticCtlogo();
afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
afx_msg void OnStaticPhonenum();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MSGWNDOWNER_H__86F690A3_1BE8_11D4_80A1_02608CDD55B8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -