blob: 9389a438e8fe329141e92b3da069422280d32d18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include "common.h"
class AFX_CLASS_EXPORT T2BalloonWnd : public CFrameWnd {
DECLARE_DYNCREATE(T2BalloonWnd)
DECLARE_MESSAGE_MAP()
public:
T2BalloonWnd();
virtual ~T2BalloonWnd();
void Show(int inX, int inY, const CString& inText, BOOL inIsPause);
protected:
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnDestroy();
CFont mFont;
CString mWndClass;
CRect mRect1;
CRect mRect2;
int mDirection;
CRgn mRgn;
BOOL mVisible;
POINT mStartCursorPos;
BOOL mIsPause;
};
|