📄 htransparentaviwnd.h
字号:
#if !defined(AFX_HTRANSPARENTAVIWND_H__88FC01F2_9822_46FD_96B9_DF0F8D380B7F__INCLUDED_)
#define AFX_HTRANSPARENTAVIWND_H__88FC01F2_9822_46FD_96B9_DF0F8D380B7F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HTransparentAviWnd.h : header file
//
#include "dib256.h"
/////////////////////////////////////////////////////////////////////////////
// CHTransparentAviWnd window
class AFX_EXT_CLASS CHTransparentAviWnd : public CWnd
{
// Construction
public:
CHTransparentAviWnd();
enum {
BITMAP_TILE = 0, // tile the bitmap to fill the dialog
BITMAP_STRETCH, // stretch the bitmap so it fits to the dialog
BITMAP_CENTER // center the bitmap inside the dialog
};
public:
BOOL SetBitmap(UINT uResource, int Type = CHTransparentAviWnd::BITMAP_TILE);
protected:
CDIBitmap m_bmpBackground;
int m_nType; // see enum above
CBrush m_HollowBrush;
CBrush m_brEditBrush;
private:
void CommonConstruct();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHTransparentAviWnd)
public:
virtual BOOL DestroyWindow();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CHTransparentAviWnd();
// Generated message map functions
protected:
//{{AFX_MSG(CHTransparentAviWnd)
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
afx_msg BOOL OnQueryNewPalette();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HTRANSPARENTAVIWND_H__88FC01F2_9822_46FD_96B9_DF0F8D380B7F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -