📄 floatwindow1.h
字号:
#if !defined(AFX_FLOATWINDOW1_H__A9D63BCE_6F48_48F3_B722_7AE8301990BC__INCLUDED_)
#define AFX_FLOATWINDOW1_H__A9D63BCE_6F48_48F3_B722_7AE8301990BC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FloatWindow1.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFloatWindow window
class CFloatWindow : public CWnd
{
// Construction
public:
CFloatWindow();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFloatWindow)
//}}AFX_VIRTUAL
private:
CBitmap *bitmap;
protected:
int m_winHeight;
int m_winWidth;
int m_wndHeight;
int m_wndWidth;
double m_width_ratio;
double m_height_ratio;
// Implementation
public:
BOOL Create(int left, int top);
CFloatWindow(double width_ratio,double height_ratio);
virtual ~CFloatWindow();
// Generated message map functions
protected:
//{{AFX_MSG(CFloatWindow)
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_FLOATWINDOW1_H__A9D63BCE_6F48_48F3_B722_7AE8301990BC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -