canvasframe.h

来自「visual c++ 游戏编程基础 第9章 visual c++ 游戏编程基」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_CANVASFRAME_H__F888694D_7141_11D5_BD53_0050BAE96245__INCLUDED_)
#define AFX_CANVASFRAME_H__F888694D_7141_11D5_BD53_0050BAE96245__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// canvasFrame.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// canvasFrame frame

class canvasFrame : public CFrameWnd
{
	DECLARE_DYNCREATE(canvasFrame)
public:
	canvasFrame();           // protected constructor used by dynamic creation
	CStatic *title[7];
	CListBox *listbox;
	CButton *stop,*play,*loop;
	CSliderCtrl *volumn,*channel;
	LPDIRECTSOUNDBUFFER createbuffer(char* filename);
// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(canvasFrame)
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~canvasFrame();

	// Generated message map functions
	//{{AFX_MSG(canvasFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnPlayDown();
	afx_msg void OnLoopDown();
	afx_msg void OnStopDown();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CANVASFRAME_H__F888694D_7141_11D5_BD53_0050BAE96245__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?