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

📄 movedlg.h

📁 代码Move是一个在屏幕上跑来跑去的小鱼。 代码 倒计时 是一个简单的倒计时控制器
💻 H
字号:
// moveDlg.h : header file
//

#if !defined(AFX_MOVEDLG_H__E70B0C4D_66B6_4745_9799_19BFAEED7BAF__INCLUDED_)
#define AFX_MOVEDLG_H__E70B0C4D_66B6_4745_9799_19BFAEED7BAF__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMoveDlg dialog

class CMoveDlg : public CDialog
{
// Construction
public:
	HBITMAP hBmp1,hBmp2;
	int m_command;
	tagPOINT m_points[60];
	int m_x,m_y;
	int m_lb;
	int m_width,m_height;
	tagRECT m_window;
	CMoveDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CMoveDlg)
	enum { IDD = IDD_MOVE_DIALOG };
	CStatic	m_pic;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMoveDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	CRgn m_rgnWnd;
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMoveDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnDestroy();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnCatch();
	afx_msg void OnSleep();
	afx_msg void OnWake();
	afx_msg void OnAppAbout();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MOVEDLG_H__E70B0C4D_66B6_4745_9799_19BFAEED7BAF__INCLUDED_)

⌨️ 快捷键说明

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