| Author: avtar 05 Sep 2008 | Member Level: Gold | Rating: Points: -20 |
Did you ever push "Search" toolbar button of IE? Yeah...then you must be familiar with band objects. Clicking on search button opens a window in the left side of IE. This window is 'Web Search Assistant'. This is a perfect example of a band object.
There are three main categories of band objects: Explorer bars( Info and command bands), desk bands, and tool bands. Info bands are vertical explorer bars and Command bands are horizontal explorer bars. There are two types of explorer bars. Vertical explorer bars or sometimes called Info bands and horizontal explorer bars, called command bands. Implementation of both is same. The Internet Explorer History, Favorites, and Search windows are all info bands.
Band objects were introduced in IE 4.0, Shell version 4.71. They are COM objects contained by IE or shell.
Explorer Bars
An explorer bar is a child window within the main IE window. Explorer bars can be vertical or horizontal. Horizontal explorer bars cover bottom area of IE's main window.
Explorer bars can be called from View/Explorer bars menu or on clicking of a toolbar button.
Desk Bands
Desk bands are dockable windows on the desktop. You can select it by right-clicking the taskbar and selecting it from the Toolbars submenu. You can even drag it to the desktop, and it will appear as a normal window.
Tool Bands
Radio control in this image is a perfect example of tool band. By creating a tool band, you can add a band to that rebar control.
Implementation of band objects?
A band object implements 6 interfaces. Three of them are optional. Here is a list of these interfaces
IDeskBand IObjectWithSite IPersistStream IInputObject IContextMenu ICommandTarget
|
| Author: Sonia sardana 06 Sep 2008 | Member Level: Silver | Rating: Points: 2 |
I have Created a Button in IE, but in that there is no use of BandObjevts....Frnd u give the theoritical explnataion. Plz tell me from where I have to start,,..In Creating a Toolbar.......
|