Help and Support
 

powered byLive Search

PRB: Confusing Return Values from DDE topic WWW_ListWindows

Retired KB ArticleThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Article ID:191508
Last Review:May 9, 1999
Revision:1.0
This article was previously published under Q191508

SYMPTOMS

Sending the DDE topic WWW_ListWindows to IExplore (Internet Explorer) returns an array of DWORDS containing a sequence of integers 1-n, not the HWNDs of windows opened by the Browser as implied in the documentation.

Back to the top

CAUSE

What is being returned is a sequence corresponding to the number of instances of the Browser that are currently opened. For instance, if three instances of Internet Explorer are running, then the WWW_ListWindows topic will return, to the caller, an array of DWORD's containing the integers 1, 2, 3.

Back to the top

RESOLUTION

The WWW_ListWindows topic can only be used to determine the number of instances of the browser that are running. To determine the windows owned for each instance, an API call such as FindWindows() must be used. General information on finding and enumerating windows is available in the MSDN article "Win32 Window Hierarchy and Styles" by Kyle Marsh.

Back to the top

REFERENCES

MSDN article "Win32 Window Hierarchy and Styles" by Kyle Marsh 1993. For additional information about , please see the following article(s) in the Microsoft Knowledge Base:
160957 (http://support.microsoft.com/kb/160957/EN-US/) Dynamic Data Exchange Support in Microsoft Internet Explorer

Back to the top


APPLIES TO
Microsoft Internet Explorer 4.0 128-Bit Edition
Microsoft Internet Explorer 4.01 Service Pack 2
Microsoft Internet Explorer 4.01 Service Pack 1

Back to the top

Keywords: 
kbdde kbprb KB191508

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.