📄 choicepage.h
字号:
#if !defined(AFX_CHOICEPAGE_H__DBD484C4_DCFF_41B5_9F51_7B3553615B08__INCLUDED_)
#define AFX_CHOICEPAGE_H__DBD484C4_DCFF_41B5_9F51_7B3553615B08__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ChoicePage.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CChoicePage dialog
#include "ClockSet.h"
class CChoicePage : public CPropertyPage
{
DECLARE_DYNCREATE(CChoicePage)
// Construction
public:
CChoicePage();
~CChoicePage();
public:
void SetMission(MISSION *peditmission);
BOOL m_isActive;
void ReadData(MISSION *pMission);
MISSION m_mission;
BOOL bInit;
// Dialog Data
//{{AFX_DATA(CChoicePage)
enum { IDD = IDD_SET_CHOICEDIALOG };
CEdit m_cdofornt;
CSpinButtonCtrl m_front;
BOOL m_playsound;
int m_mediafile;
int m_dofront;
BOOL m_actionusing;
int m_actionmode;
CString m_filepath;
CString m_wavpath;
int m_donow;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CChoicePage)
public:
virtual void OnOK();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CChoicePage)
afx_msg void OnPlaySound();
virtual BOOL OnInitDialog();
afx_msg void OnUsing();
afx_msg void OnChoiceBrowse();
afx_msg void OnChoicePlay();
afx_msg void OnPathBrowse();
afx_msg void OnSelchangeChoiceAction();
afx_msg void OnChangeChoiceFrontdoedit();
afx_msg void OnChoiceDonow();
afx_msg void OnChoiceFrontdo();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
void OnChangeValue(int nID,int *pV);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHOICEPAGE_H__DBD484C4_DCFF_41B5_9F51_7B3553615B08__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -