📄 htransparentaviformview.h
字号:
#if !defined(AFX_HTRANSPARENTAVIFORMVIEW_H__70DDF7E4_A8AD_43AE_94D1_654391BB5060__INCLUDED_)
#define AFX_HTRANSPARENTAVIFORMVIEW_H__70DDF7E4_A8AD_43AE_94D1_654391BB5060__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HTransparentAviFormView.h : header file
//
#include "dib256.h"
/////////////////////////////////////////////////////////////////////////////
// CHTransparentAviFormView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class AFX_EXT_CLASS CHTransparentAviFormView : public CFormView
{
protected:
CHTransparentAviFormView(UINT IDD=0):CFormView(IDD){CommonConstruct();};
DECLARE_DYNCREATE(CHTransparentAviFormView)
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 = CHTransparentAviFormView::BITMAP_TILE);
protected:
CDIBitmap m_bmpBackground;
int m_nType; // see enum above
CBrush m_HollowBrush;
CBrush m_brEditBrush;
private:
void CommonConstruct();
// Form Data
public:
//{{AFX_DATA(CHTransparentAviFormView)
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHTransparentAviFormView)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CHTransparentAviFormView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CHTransparentAviFormView)
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_HTRANSPARENTAVIFORMVIEW_H__70DDF7E4_A8AD_43AE_94D1_654391BB5060__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -