#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 512struct 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{// Constructionpublic:CSetting(CWnd* pParent = NULL); // standard constructorpublic: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// Implementationprotected:// Generated message map functions//{{AFX_MSG(CSetting)virtual void OnOK();virtual void OnCancel();virtual BOOL OnInitDialog();//}}AFX_MSGDECLARE_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_)
添加回答
举报
0/150
提交
取消