📄 connectdlg.h
字号:
/////////////////////////////////////////////////////////////////////////////
//
// OPC Trend VC++ Client: ConnectDlg.h
// (Header File)
//
/////////////////////////////////////////////////////////////////////////////
//
// Author: Raphael Imhof
// Initial Date: 11/04/98
// $Workfile: ConnectDlg.h $
// $Revision: 1 $
// $Date: 7/27/99 5:24p $
// Target System: Microsoft Windows NT 4.0
// Environment: Visual C++ 5.0 / OPC DataAccess 1.0 / 2.0
// Remarks:
//
/////////////////////////////////////////////////////////////////////////////
//
// Description: interface of the CConnectDlg class.
// Server enum/connect dialog
//
//
/////////////////////////////////////////////////////////////////////////////
//
// History of Changes (Please remove very old comments and blank lines!)
// $Log: /IDK/OPCServer/clients/VC++/Trend/ConnectDlg.h $
//
// 1 7/27/99 5:24p Imhof
//
// 1 7/27/99 5:19p Imhof
//
// 4 1/15/99 7:04p Imhof
// Updated legal notice.
//
// 3 12/15/98 10:30a Imhof
// Modifications for OPC 2.0
//
// 2 11/06/98 5:53p Imhof
// Added header, comment and made some small code changes.
//
//
// $Nokeywords:$ (To avoid useless search while checking in.)
/////////////////////////////////////////////////////////////////////////////
// Copyright (C) 1998, Siemens Building Technologies, Inc. Landis Division
//
// SIEMENS BUILDING TECHNOLOGIES, INC. IS PROVIDING THE FOLLOWING
// EXAMPLES OF CODE AS SAMPLE ONLY.
//
// SIEMENS BUILDING TECHNOLOGIES, INC. MAKES NO REPRESENTATIONS
// OR WARRANTIES OF ANY KIND WITH RESPECT TO THE VALIDTY OF THE
// CODES OR DESIRED RESULTS AND DISCLAIMS ALL SUCH
// REPRESENTATIONS AND WARRANTIES, INCLUDING FOR EXAMPLE,
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
// PURPOSE. SIEMENS BUILIDNG TECHNOLOGIES, INC. DOES NOT
// REPRESENT OR WARRANT THAT THE FOLLOWING CODE SAMPLES ARE
// ACCURATE, VALID, COMPLETE OR CURRENT.
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CONNECTDLG_H__360062D1_6A94_11D2_ADB4_00104B2C9D06__INCLUDED_)
#define AFX_CONNECTDLG_H__360062D1_6A94_11D2_ADB4_00104B2C9D06__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// ConnectDlg.h : header file
//
//the cat id's
#define __GUID_DEFINED__
#include <OPCDa_Cats.c>
/////////////////////////////////////////////////////////////////////////////
// CConnectDlg dialog
class CConnectDlg : public CDialog
{
// Construction
public:
CConnectDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CConnectDlg)
enum { IDD = IDD_CONNECT };
CListBox m_lbOPCServerList;
CString m_sOPCServer;
CString m_sOPCServerComputer;
CString m_sSelectedOPCServer;
//}}AFX_DATA
CLSID m_catid; //1.0 or 2.0 search
CLSID m_clsidServer;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CConnectDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
BOOL FindOPCServers(LPCTSTR node = NULL);
// Generated message map functions
//{{AFX_MSG(CConnectDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeServerList();
afx_msg void OnFindServers();
virtual void OnOK();
afx_msg void OnDblclkServerList();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONNECTDLG_H__360062D1_6A94_11D2_ADB4_00104B2C9D06__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -