SAMPLE: KBBAR Internet Explorer Toolband
This article was previously published under Q246234 On This PageSUMMARY
KBBAR is a sample Internet Explorer 5 toolband written in C++ with combined Active Template Library (ATL) and Microsoft Foundation Classes (MFC) code. KBBAR demonstrates how to host a combo box and two buttons on the toolband that use the IWebBrowser interface of the browser to navigate and execute search functionality for Microsoft Knowledge Base articles and the MSDN Web site.
MORE INFORMATIONThe following file is available for download from the Microsoft Download Center: Kbbar.exe (http://download.microsoft.com/download/ie5/toolband/2/nt45/en-us/kbbar.exe) Release Date: May 30, 2001For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591 (http://support.microsoft.com/kb/119591/EN-US/) 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 secure servers that prevent any unauthorized changes to the file.UsageAs a sample, KBBar has been kept intentionally simple. It contains two toolbar buttons and a combo box. The two buttons navigate to the MSDN Web site and the MSDN Web Workshop site, respectively. These locations are currently hard-coded.You use the combo box to search the Knowledge Base for either a set of keywords or a specific article "Q number." To search by keyword, type the keywords into the edit portion of the toolband and press ENTER. To search for a Q number, type that number with a "#" sign, as in "#Q234234". The combo box remembers all of the searches entered into it. You can then use the drop-down list to recall any search later. ArchitectureThere are three main classes in KBBar:
Sections of interest
REFERENCESBrowser extensions For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:Creating Custom Explorer Bars, Tool Bands, and Desk Bands (http://msdn.microsoft.com/workshop/browser/ext/overview/bands.asp) http://msdn.microsoft.com/ie/ (http://msdn.microsoft.com/ie/) http://support.microsoft.com/iep (http://support.microsoft.com/iep) APPLIES TO
| Article Translations
|
Back to the top
