SAMPLE: Actvdesk Demonstrates Usage of IActiveDesktop Interface (237413)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 4.0
  • Microsoft Internet Explorer (Programming) 4.01
  • Microsoft Internet Explorer (Programming) 4.01 SP1
  • Microsoft Internet Explorer (Programming) 4.01 SP2
  • Microsoft Internet Explorer (Programming) 5
  • Microsoft Internet Explorer (Programming) 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:
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.

REFERENCES

For more information, see the IActiveDesktop reference in the Platform SDK on the following Microsoft Web site:

Modification Type:MinorLast Reviewed:8/5/2004
Keywords:kbdownload kbfile kbinfo kbSample KB237413 kbAudDeveloper