如下代码所示,请问是什么意思?

#if !defined(AFX_SETTING_H__DEDFD007_44B2_4EF2_86F4_97A977983CF3__INCLUDED_)
#define AFX_SETTING_H__DEDFD007_44B2_4EF2_86F4_97A977983CF3__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSetting dialog
#define BUF_LEN 512

struct ID3_INF
{
char chArtist[BUF_LEN];
char chAlbum[BUF_LEN];
char chTitle[BUF_LEN];
char chTrack[BUF_LEN];
char chYear[BUF_LEN];
char chComment[BUF_LEN];
char chGenre[BUF_LEN];
};

class CSetting : public CDialog
{
// Construction
public:
CSetting(CWnd* pParent = NULL); // standard constructor

public:
void GetID3(ID3_INF *pinf);

private:
CString m_strGener;

// Dialog Data
//{{AFX_DATA(CSetting)
enum { IDD = IDD_ID3_SETTING };
CComboBox m_Gener;
CString m_strComment;
CString m_strTrack;
CString m_strYear;
CString m_strTitle;
CString m_strAlbum;
CString m_strArtist;
//}}AFX_DATA

// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetting)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL

// Implementation
protected:

// Generated message map functions
//{{AFX_MSG(CSetting)
virtual void OnOK();
virtual void OnCancel();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SETTING_H__DEDFD007_44B2_4EF2_86F4_97A977983CF3__INCLUDED_)

炎炎设计
浏览 169回答 1
1回答

江户川乱折腾

对话框设置类,用于设置对话框的一些按钮名称和其他字符。
打开App,查看更多内容
随时随地看视频慕课网APP