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

📄 ddeclint.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
字号:
\section{\class{wxDDEClient}}\label{wxddeclient}A wxDDEClient object represents the client part of a client-server DDE(Dynamic Data Exchange) conversation.To create a client which can communicate with a suitable server,you need to derive a class from wxDDEConnection and another from wxDDEClient.The custom wxDDEConnection class will intercept communications ina `conversation' with a server, and the custom wxDDEServer is requiredso that a user-overridden \helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} member can returna wxDDEConnection of the required class, when a connection is made.This DDE-based implementation isavailable on Windows only, but a platform-independent, socket-based versionof this API is available using \helpref{wxTCPClient}{wxtcpclient}.\wxheading{Derived from}wxClientBase\\\helpref{wxObject}{wxobject}\wxheading{Include files}<wx/dde.h>\wxheading{See also}\helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEConnection}{wxddeconnection}, \helpref{Interprocess communications overview}{ipcoverview}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxDDEClient::wxDDEClient}\label{wxddeclientctor}\func{}{wxDDEClient}{\void}Constructs a client object.\membersection{wxDDEClient::MakeConnection}\label{wxddeclientmakeconnection}\func{wxConnectionBase *}{MakeConnection}{\param{const wxString\& }{host}, \param{const wxString\& }{service}, \param{const wxString\& }{topic}}Tries to make a connection with a server specified by the host(machine name under UNIX, ignored under Windows), service name (mustcontain an integer port number under UNIX), and topic string. If theserver allows a connection, a wxDDEConnection object will be returned.The type of wxDDEConnection returned can be altered by overridingthe \helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} member to return your ownderived connection object.\membersection{wxDDEClient::OnMakeConnection}\label{wxddeclientonmakeconnection}\func{wxConnectionBase *}{OnMakeConnection}{\void}The type of \helpref{wxDDEConnection}{wxddeconnection} returned from a \helpref{wxDDEClient::MakeConnection}{wxddeclientmakeconnection} call canbe altered by deriving the {\bf OnMakeConnection} member to return yourown derived connection object. By default, a wxDDEConnectionobject is returned.The advantage of deriving your own connection class is that it willenable you to intercept messages initiated by the server, suchas \helpref{wxDDEConnection::OnAdvise}{wxconnectiononadvise}. You may also want tostore application-specific data in instances of the new class.\membersection{wxDDEClient::ValidHost}\label{wxddeclientvalidhost}\func{bool}{ValidHost}{\param{const wxString\& }{host}}Returns \true if this is a valid host name, \false otherwise. This alwaysreturns \true under MS Windows.

⌨️ 快捷键说明

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