Microsoft KB Archive/237413

= SAMPLE: Actvdesk Demonstrates Usage of IActiveDesktop Interface =

Article ID: 237413

Article Last Modified on 8/5/2004

-

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
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.5

-



This article was previously published under Q237413



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 file is available for download from the Microsoft Download Center:

Actvdesk.exe

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.



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.

