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

📄 wpw_wapi_dde_95.html

📁 VC programing
💻 HTML
字号:
<HTML>
<HR><A NAME=WINAPI_DDE_PROGMAN>
Return to <a href="wpw_wapi_index.html#TOC">Table of Contents for this chapter</a><br>
<H4>Subject: Program manager's DDE interface</H4><PRE>
Hi

I have put together some C++ classes that encapsulate the DDEML
calls in Windwos.  I am writing an application that uses DDEML
to communicate with the Program Manager.



I am using the information in the online help as a guide for 
the services, topics, and items to use with DDEML.  

In all cases, the service is "PROGMAN" and the topic is "PROGMAN"       

Some of these work correctly e.g., 

- i can retrieve information for a specific group:
  using item "Network" for example to get all teh items
  in the network group

- i can issue the ShowGroup command;
  pass DDE execute command string: [ShowGroup ("Network",1)]

However, I want to be able to retrieve just the groups; the online
help says I can use the Group item for this purpose.  I have tried
item names of:
  Group
  Groups
  [Group]
  [Groups]
but none of these work.

Does anyone know what the correct item name is?
--------------------------------------------------------------------
G. Bowden Wise
Computer Science Dept, Rensselaer Polytechnic Inst, Troy, NY 12180
Email: wiseb@cs.rpi.edu         WWW: http://www.cs.rpi.edu/~wiseb/
<HR>
In article <199507090340.AA22831@cs.rpi.edu> wiseb@cs.rpi.edu (Bowden Wise) writes:
>Hi
>
>I have put together some C++ classes that encapsulate the DDEML
>calls in Windwos.  I am writing an application that uses DDEML
>to communicate with the Program Manager.
>
>I am using the information in the online help as a guide for 
>the services, topics, and items to use with DDEML.  
>
>In all cases, the service is "PROGMAN" and the topic is "PROGMAN"      
>
>Some of these work correctly e.g., 
>
>- i can retrieve information for a specific group:
>  using item "Network" for example to get all teh items
>  in the network group
>
>- i can issue the ShowGroup command;
>  pass DDE execute command string: [ShowGroup ("Network",1)]
>
>However, I want to be able to retrieve just the groups; the online
>help says I can use the Group item for this purpose.  I have tried
>item names of:
>  Group
>  Groups
>  [Group]
>  [Groups]
>but none of these work.
>
>Does anyone know what the correct item name is?
        I think the docs are wrong, although some folks have said
        "group" item works.  I use "progman" as the item and it
        works for me.
-- 
John A. Grant                                           jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
<HR>
In comp.os.ms-windows.programmer.misc, John A. Grant wrote:
> I think the docs are wrong, although some folks have said
> "group" item works.  I use "progman" as the item and it
> works for me.

Apparently the DOCs on the PROGMAN DDE is wrong; they say that
one can get a list of all of the groups by issuing a request
for the 'Group' item.  This does not work for me, however, 
issuing a request for 'PROGMAN' item does!

--------------------------------------------------------------------
G. Bowden Wise
Computer Science Dept, Rensselaer Polytechnic Inst, Troy, NY 12180
Email: wiseb@cs.rpi.edu         WWW: http://www.cs.rpi.edu/~wiseb/
<HR>
wiseb@cs.rpi.edu (Bowden Wise) wrote:

>However, I want to be able to retrieve just the groups; the online
>help says I can use the Group item for this purpose.  I have tried
>item names of:
>  Group
>  Groups
>  [Group]
>  [Groups]
>but none of these work.

>Does anyone know what the correct item name is?

"GROUPS" works for me.


Freeman Installer ==> ftp.netnet.net /pub/users/freeman/finst22.zip
NT version        ==> fi22nt.zip

</PRE> 

</HTML>

⌨️ 快捷键说明

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