|
Creating A Browser |
|
If you observe carefully the Internet Explorer 3.0 and above you would find that it has a different type of toolbar. When in normal state the toolbar buttons are shown in black and white. But as soon as the mouse is placed over any button a colored button appears. In its normal state such a toolbar is known as a Coolbar, whereas, when the buttons are shown in colors it is known as a Hotbar. This toolbar is housed in a Rebar (resizable bar) along with several child windows like an edit box where you can type a URL, a drop-down combo box listing the URL history, and an animation control. In this article we too would try to create such a sophisticated rebar in our browser. This is an SDI project created using AppWizard. CHtmlView is selected as the base class of view class. The output of the program is given below:
|