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

📄 showtop.h

📁 此代码使用bmp图作为主要界面
💻 H
字号:
#if !defined(AFX_SHOWTOP_H__A9F1BE12_7F58_430E_A3B2_083A69121CF8__INCLUDED_)
#define AFX_SHOWTOP_H__A9F1BE12_7F58_430E_A3B2_083A69121CF8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ShowTop.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CShowTop window

class CShowTop : public CWnd
{
// Construction
public:
	CShowTop();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CShowTop)
	public:
	virtual BOOL Create(DWORD dwStyle, CRect& rect, CWnd* pParent, UINT id);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CShowTop();
	void SetImage(HBITMAP *hbp);

	CRect m_rcImgWnd;
	CDC m_MemDC;
	HBITMAP m_bitmap1;

	CBitmap m_bpImageWnd;
	bool m_bIsSetImage;
	// Generated message map functions
protected:
    CRect close_rect, min_rect;
	//{{AFX_MSG(CShowTop)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnPaint();

	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SHOWTOP_H__A9F1BE12_7F58_430E_A3B2_083A69121CF8__INCLUDED_)

⌨️ 快捷键说明

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