WebApp.exe Enables User to Move WebBrowser Ctrl (189634)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
- the operating system: Microsoft Windows NT
- the operating system: Microsoft Windows 2000
- Microsoft Internet Client SDK 4.0
- Microsoft Internet Client SDK 4.01
This article was previously published under Q189634 SUMMARY
When hosting the Internet Explorer 4.0x WebBrowser control, it is possible
to move the control to both virtual and file folders on the user's
local computer. These are folders such as the desktop and My Computer. The
problem is that when the user opens a folder in the control, a new Internet
Explorer window is opened to display the contents of the selected folder.
This might not always be the desired behavior.
To solve this problem, the host application must respond to and handle a
Dynamic Data Exchange (DDE) conversation that is initiated by the control
when the control calls ShellExecuteEx. WebApp.exe is a sample application
that hosts the Internet Explorer 4.0x WebBrowser control that is initially
set to the user's desktop. It demonstrates how to establish the DDE
conversation, get the DDE command string, parse the DDE command string, and
access and free the PIDL that is included in the DDE command. It also
handles the special cases described in the MORE INFORMATION section.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbdownload kbfile kbinfo kbWebBrowser KB189634 kbAudDeveloper |
---|
|