?? browseserversdlg.h
字號(hào):
#if !defined(AFX_BROWSESERVERSDLG_H__3556BD71_2E72_4A31_A3A0_941E60B9B6BC__INCLUDED_)
#define AFX_BROWSESERVERSDLG_H__3556BD71_2E72_4A31_A3A0_941E60B9B6BC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BrowseServersDlg.h : header file
//
// Stardard headers
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <afxtempl.h>
/////////////////////////////////////////////////////////////////////////////
// CBrowseServersDlg dialog
class CBrowseServersDlg : public CDialog
{
// Construction
public:
CBrowseServersDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CBrowseServersDlg)
enum { IDD = IDD_BROWSE_SERVERS_DIALOG };
CListCtrl m_listServers;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBrowseServersDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
public:
CString GetErrorMessage() { return m_strErrorMessage; }
BOOL SetServersList(CArray<CString, CString&>* parrServersList=NULL);
CString GetServerName() { return m_strServerName; }
protected:
// Generated message map functions
//{{AFX_MSG(CBrowseServersDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnDblclkListServers(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL SetServerName();
CString m_strErrorMessage;
CArray<CString, CString&>* m_parrServersList;
CString m_strServerName;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BROWSESERVERSDLG_H__3556BD71_2E72_4A31_A3A0_941E60B9B6BC__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -