SAMPLE: Actvdesk Demonstrates Usage of IActiveDesktop Interface

ID: Q237413


The information in this article applies to:
  • Microsoft Internet Explorer (Programming) versions 4.0, 4.01, 4.01 SP1, 4.01 SP2, 5


SUMMARY

Actvdesk.exe is a sample that demonstrates usage of the IActiveDesktop interface. The IActiveDesktop interface is the automation interface exposed by the integrated shell that allows applications to control the display of content on the Active Desktop.

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:

Actvdesk.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.


MORE INFORMATION

The Actvdesk sample application is a simple MFC dialog-based application. It uses the IActiveDesktop interface to enumerate the current desktop items in use on the user's Active Desktop and determine which ones are enabled.

The dialog supports the ability to search for a particular filter string in the names of all the desktop items. Before searching, if the user has checked either the disable-all or enable-all check box, the search function will set all found items to be disabled or enabled, respectively.

All of the IActiveDesktop code is in the CActivedeskDlg class and most of it is restricted to the OnSearch and OnDblclkItemList functions.


REFERENCES

The IActiveDesktop reference in the Platform SDK

© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Jason Strayer, Microsoft Corporation

Additional query words:

Keywords : kbfile kbsample kbIE kbIE400 kbIE401sp1 kbIE401sp2 kbGrpInet kbIE500 kbDSupport
Version : WINDOWS:4.0,4.01,4.01 SP1,4.01 SP2,5
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.