?? 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_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -