mainoptions.h

来自「vc++6.0开发网络典型应用实例导航 1. 本光盘提供了本书中所有的实例源」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_MAINOPTIONS_H__5AD83188_F8C2_4C08_9D63_112CA871B382__INCLUDED_)
#define AFX_MAINOPTIONS_H__5AD83188_F8C2_4C08_9D63_112CA871B382__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMainOptions dialog

class CMainOptions : public CPropertyPage
{
	DECLARE_DYNCREATE(CMainOptions)

// Construction
public:
	~CMainOptions();

// Dialog Data
	//{{AFX_DATA(CMainOptions)
	enum { IDD = IDD_MAIN_OPTIONS };
	BOOL	m_ShowIps;
	BOOL	m_Usepopup;
	BOOL	m_Emoticons;
	//}}AFX_DATA

	CMainOptions(CContactView * = NULL, int * = NULL, 
		int * = NULL, int * = NULL, int * = NULL, int * = NULL, char * = NULL);   // standard constructor

	CContactView *View;
	int *PingTime;
	int *ReconnectTime;
	int *ShowIps;
	int *UsePopup;
	int *UseEmoticons;
	char *SecurityWarning;
// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CMainOptions)
	public:
	virtual BOOL OnApply();
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CMainOptions)
	virtual BOOL OnInitDialog();
	afx_msg void OnChangeScreenname();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_MAINOPTIONS_H__5AD83188_F8C2_4C08_9D63_112CA871B382__INCLUDED_)

⌨️ 快捷键说明

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