Notification Tray Icon Component (200786)



The information in this article applies to:

  • The Microsoft Foundation Classes (MFC), when used with:
    • Microsoft Visual C++, 32-bit Editions 4.0
    • Microsoft Visual C++, 32-bit Editions 4.1

This article was previously published under Q200786

SUMMARY

The Notification Tray Icon Component can be inserted in a project to obtain the code necessary to hide the application icon in the notification area of the taskbar. The code will work for both an MFC SDI and MDI application. This component assumes that the project has a CMainFrame class that has been derived from the CFrameWnd or CMDIFrameWnd MFC class.

The following files are available for download from the Microsoft Download Center:

Tkbaricn.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.

After decompressing the file you will have get a Tkbaricn.dll, Kbaricn.hlp, and a Readme.txt file. Follow the instructions in the Readme.txt file to see where the .dll and .hlp files should go.

MORE INFORMATION

The notification tray icon component inserts a new class called CTaskbarIcon, that is used to provide function calls that wrap the construction of the NOTIFYICONDATA structure and any necessary SDK API calls. Refer to the help button provided on the Component Gallery insert dialog for more detailed information of this class and the changes made to the project.

Modification Type:MinorLast Reviewed:8/10/2004
Keywords:kbdownload kbhowto kbsample KbUIDesign KB200786