📄 bgcolorwnd.h
字号:
#if !defined(AFX_BGCOLORWND1_H__2EAA2D4A_2014_4A00_A012_74622361F8E9__INCLUDED_)
#define AFX_BGCOLORWND_H__2EAA2D4A_2014_4A00_A012_74622361F8E9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BGColorWnd.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBGColorWnd frame
class CBGColorWnd : public CWnd
{
public:
CBGColorWnd();
// Operations
public:
CBitmap m_bitmap;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBGColorWnd)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_VIRTUAL
public:
virtual ~CBGColorWnd();
// Generated message map functions
//{{AFX_MSG(CBGColorWnd)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
virtual BOOL PreTranslateMessage(MSG* pMsg);
private:
char * m_pBMPBuffer;
HBITMAP m_hPhotoBitmap;
DWORD m_nFileLen;
HICON m_hIcon;
void RadeImage();
HBITMAP BufferToHBITMAP(void);
//void DrawUserPhoto(CDC *pDC);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BGCOLORWND_H__2EAA2D4A_2014_4A00_A012_74622361F8E9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -