bdialog.h
来自「一个长度信息管理系统。主要包含了界面编程和对文件操作。」· C头文件 代码 · 共 65 行
H
65 行
//***********************************************************************************
// Class = CBDialog
// File = BDialog.h
// Date = 2003.02.24
// Ver = 03-02-24
// Author = Loomman
// E-mail = loomman@hotmail.com
// Comment = This class is used to make a bmp file as the background of a dialog:)
//
// Based on the Visual C++ dlg bmp background component.Have fun programming:)
// 1998-2003 Loomman Software, All Rights Reserved.
//**********************************************************************************
#if !defined(AFX_BDIALOG_H__A303185C_4254_4F5F_B5A8_462531A59B83__INCLUDED_)
#define AFX_BDIALOG_H__A303185C_4254_4F5F_B5A8_462531A59B83__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define StyleTile 0
#define StyleCenter 1
#define StyleStretch 2
class CBDialog : public CDialog
{
// Construction
public:
int SetBitmap(UINT nIDResource);
void SetBitmapStyle(int style);
CBDialog(UINT nIDTemplate, CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CBDialog)
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBDialog)
protected:
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CBDialog)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CBitmap m_bitmap;
int m_style;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BDIALOG_H__A303185C_4254_4F5F_B5A8_462531A59B83__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?