dde

windows 消息ID

家住魔仙堡 提交于 2019-11-27 13:47:12
1. WM_NULL=$0000: 2. WM_CREATE=$0001: 应用程序创建一个窗口 3. WM_DESTROY=$0002: 一个窗口被销毁 4. WM_MOVE=$0003: 移动一个窗口 5. WM_SIZE=$0005:改变一个窗口的大小 6. WM_ACTIVATE=$0006: 一个窗口被激活或失去激活状态; 7. WM_SETFOCUS=$0007: 获得焦点后 8. WM_KILLFOCUS=$0008: 失去焦点 9. WM_ENABLE=$000A: 改变enable状态 10. WM_SETREDRAW=$000B: 设置窗口是否能重画 11. WM_SETTEXT=$000C: 应用程序发送此消息来设置一个窗口的文本 12. WM_GETTEXT=$000D: 应用程序发送此消息来复13. 制对应窗口的文本到缓冲区 14. WM_GETTEXTLENGTH=$000E: 得到与一个窗口有关的文本的长度(不15. 包含空字符) 16. WM_PAINT=$000F: 要求一个窗口重画自己 17. WM_CLOSE=$0010: 当一个窗口或应用程序要关闭时发送一个信号 18. WM_QUERYENDSESSION=$0011: 当用户选择结束对话框或程序自己调用ExitWindows函数 19. WM_QUIT=$0012:

How to open a specific bloomberg terminal page programmatically?

﹥>﹥吖頭↗ 提交于 2019-11-27 12:30:00
问题 Is there a reliable way to open a specific bloomberg terminal page programmatically (e.g. "MSFT Equity")? I am open to any suggestions and code samples: Start process with path to bloomberg terminal executable and ticker in the arguments Bloomberg API DDE COM Automation SendKeys (can be blocked by some antivirus software) ... Many thanks 回答1: You can get the answer to this through the terminal: API < GO > > API Developer's Website > WAPI Home > FAQs > Miscellaneous Topics And the specific

Calling a MATLAB function from C#

守給你的承諾、 提交于 2019-11-26 22:48:43
问题 I developed a MATLAB function, and I'm looking for a way to call that function from another C# application and pass some parameters to it and get the results in the C# program. I heard that I can use Dynamic Data Exchange (DDE) or COM objects, but have can I do it? 回答1: There is nice example in the MATLAB Central. It shows three ways on how to communicate with MATLAB: COM MATLAB .NET Bulider MATLAB compiler COM (I do not have any experience with it) Cons: MATLAB is required to be installed on

How do I send a string from one instance of my Delphi program to another?

Deadly 提交于 2019-11-26 19:44:06
What is the best and easiest way to send a string from one instance of my program to another instance of my program? The receiving program has to execute a procedure, using the received string as a parameter. I started reading about DDE but I got confused. What other options do I have, and what is the easiest way to implement this? Use named Pipes, but I would recommend Russell Libby's named Pipe components. There is a TPipeClient and TPipeServer component. As of (2013-10-04) Francoise Piette and arno.garrels@gmx.de updated this source code to compile with Delphi 7 to XE5 (earlier versions may

How do I send a string from one instance of my Delphi program to another?

时光毁灭记忆、已成空白 提交于 2019-11-26 07:24:24
问题 What is the best and easiest way to send a string from one instance of my program to another instance of my program? The receiving program has to execute a procedure, using the received string as a parameter. I started reading about DDE but I got confused. What other options do I have, and what is the easiest way to implement this? 回答1: Use named Pipes, but I would recommend Russell Libby's named Pipe components. There is a TPipeClient and TPipeServer component. As of (2013-10-04) Francoise