⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 popuptipwnd.h

📁 这是一本学习 window编程的很好的参考教材
💻 H
字号:
// PopupTipWnd.h : header file
//

#if !defined(AFX_POPUPTIPWND_H__E0803970_1CAC_11D5_B8F7_00B0D07B8C7C__INCLUDED_)
#define AFX_POPUPTIPWND_H__E0803970_1CAC_11D5_B8F7_00B0D07B8C7C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define PWDSPY_POPUP_TIP_CLASSNAME	_T("PasswordSpy Popup Tip")
#define BORDER_X	5
#define BORDER_Y	5

/////////////////////////////////////////////////////////////////////////////
// CPopupTipWnd window

class CPopupTipWnd : public CWnd
{
// Construction
public:
	CPopupTipWnd();
	virtual ~CPopupTipWnd();

	static bool RegisterWindowClass(void);

	virtual BOOL Create(CWnd *pParentWnd);

	void ShowPopupWindow(CString strText, CPoint point, CRect rect);
	void HidePopupWindow(void);

	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPopupTipWnd)
	//}}AFX_VIRTUAL

	// Generated message map functions
protected:
	static bool s_bRegistered;
	CRect m_rectPos;
	CWnd *m_pParentWnd;

	//{{AFX_MSG(CPopupTipWnd)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_POPUPTIPWND_H__E0803970_1CAC_11D5_B8F7_00B0D07B8C7C__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -