⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 satinfoedit.h

📁 AliEditor_Source code
💻 H
字号:
#if !defined(AFX_SATINFOEDIT_H__B3CE0533_9FB4_427B_BEDA_D82681BF5E6B__INCLUDED_)
#define AFX_SATINFOEDIT_H__B3CE0533_9FB4_427B_BEDA_D82681BF5E6B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSatInfoEdit dialog

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

// Dialog Data
	//{{AFX_DATA(CSatInfoEdit)
	enum { IDD = IDD_EDIT_SAT_INFO };
	CButton	m_sat_selected;
	CComboBox	m_tuner_band;
	CEdit	m_long_ctrl;
	CComboBox	m_tone_burst_ctrl;
	CComboBox	m_0_12v_ctrl;
	CComboBox	m_22k_ctrl;
	CComboBox	m_diseqc_ctrl;
	CComboBox	m_east_west_flag;
	CComboBox	m_second_freq_ctrl;
	CComboBox	m_first_freq_ctrl;
	CComboBox	m_lnb_type_ctrl;
	CString	m_sat_name;
	long	m_sat_pos;
	double	m_sat_long;
	//}}AFX_DATA
	
	SatTPMod *m_pSatTp;

	enum OpType m_op_type;

	enum UserMode{CANCEL, OK, CLOSE} m_user_mode;

public:
	void InitCombox();
	void AddSatInfo();

	void EditSatInfo();
	void SaveSatInfo();

	BOOL CheckPara();

	void ChangeLnbType(int lnb_sel);
	int GetCurSel(combox_t *pcmt, int count, DWORD data);
	int GetSatNodeIndex(const char *keysz);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSatInfoEdit)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSatInfoEdit)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeLnbType();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnClose();
	afx_msg void OnDestroy();
	afx_msg void OnResetSatInfo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SATINFOEDIT_H__B3CE0533_9FB4_427B_BEDA_D82681BF5E6B__INCLUDED_)

⌨️ 快捷键说明

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