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

📄 scadnpage.h

📁 agsm a gsm sim manager for browsing, managing, and manipulating the phonebook,SMS on the SIM card. I
💻 H
字号:
#if !defined(AFX_SCADNPAGE_H__63E7C179_FBF4_4861_BCC1_996E4D1B29F6__INCLUDED_)
#define AFX_SCADNPAGE_H__63E7C179_FBF4_4861_BCC1_996E4D1B29F6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ScListCtrl.h"
#include "ScPropertyPage.h"
#include "PcScCtrl.h"	// Added by ClassView

// ScAdnPage.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CScAdnPage dialog
class CScAdnPage : public CScPropertyPage
{
	DECLARE_DYNCREATE(CScAdnPage)

// Construction
public:
	StructOfFile m_Sof;
	void SetFileId(USHORT id);
	USHORT m_FileId;
	void EditRecord();
	BOOL CanPaste();
	void Paste();
	ULONG m_NumOfRecs;
	ULONG m_RecordLen;
	ULONG m_FileSize;
	BYTE m_pResData[512];
	void WriteRecord(int n=-1);
	void ReadRecord(int n = -1);
	CScAdnPage();
	CScAdnPage(UINT nIDCaption);
	~CScAdnPage();

// Dialog Data
	//{{AFX_DATA(CScAdnPage)
	enum { IDD = IDD_PAGE_ADN };
	CScListCtrl	m_AdnListCtrl;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CScAdnPage)
	public:
	virtual BOOL OnApply();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
	virtual CScListCtrl* GetListCtrl();

// Implementation
protected:
	void WriteRecordN(int n,BOOL newRecord);
	void ReadRecordN(int n,BOOL newRecord);
	void SelectCurFile();
	// Generated message map functions
	//{{AFX_MSG(CScAdnPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnDblclkListAdn(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_SCADNPAGE_H__63E7C179_FBF4_4861_BCC1_996E4D1B29F6__INCLUDED_)

⌨️ 快捷键说明

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