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

📄 tpinfoedit.h

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

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

/////////////////////////////////////////////////////////////////////////////
// CTpInfoEdit dialog

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

// Dialog Data
	//{{AFX_DATA(CTpInfoEdit)
	enum { IDD = IDD_EDIT_TP_INFO };
	CEdit	m_tp_name;
	CComboBox	m_tp_polar;
	long	m_tp_freq;
	long	m_tp_symbol_rate;
	//}}AFX_DATA


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

public:
	int m_nOrder;

	SatTPMod *m_pSatTp;

	enum OpType m_op_type;

	enum UserMode{CANCEL, OK, CLOSE} m_user_mode;

public:

	void InitCombox();
	void AddTpInfo();

	void EditTpInfo();
	void SaveTpInfo();

	BOOL CheckPara();

	int GetCurSel(combox_t *pcmt, int count, DWORD data);
	int GetTpNodeIndex(const char *keysz);

// Implementation
protected:

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

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

#endif // !defined(AFX_TPINFOEDIT_H__CD78B478_412A_45ED_9301_50170766578F__INCLUDED_)

⌨️ 快捷键说明

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