Books
in black and white
Main menu
Share a book About us Home
Books
Biology Business Chemistry Computers Culture Economics Fiction Games Guide History Management Mathematical Medicine Mental Fitnes Physics Psychology Scince Sport Technics
Ads

Internet Explorer Construction Kit for Dummies - Clayton W

Clayton W Internet Explorer Construction Kit for Dummies - Wiley Publishing, 2005. - 388 p.
ISBN: 0-7645-7491-4
Download (direct link): internetexplorerconstruction2005.pdf
Previous << 1 .. 11 12 13 14 15 16 < 17 > 18 19 20 21 22 23 .. 84 >> Next

To create graphics, though, you need to know how to use a paint program. This book helps you there, too. In Part III, you discover how to use your free-trial version of the famous Paint Shop Pro, included on this book’s CD. You learn to use this powerful software to create graphics for use with your custom browser. Such graphics include not only the aforementioned toolbar and status bar stuff, but also skins (background images) and borders.
Part II
Customizing the Look of the Browser
In this part . . .
£ach custom browser is an assembly of components, including a menu bar, a toolbar, a status bar, border and background graphics, and more. In Part II, you find out how to add these components to your browser projects, as well as how to customize them to your taste and needs. At first, creating a new custom browser may seem like a lot of work, but by the time you explore the information in this part, you’ll be banging out new browsers like a pro.
Chapter 4
Designing the Browser Window
In This Chapter
^ Exploring the Window command category ^ Choosing window styles ^ Adding or removing window buttons ^ Placing graphics in your window
£very custom browser starts with a window. Although Windows dictates to some extent what a window looks like, an application’s programmer can choose to include or exclude certain features. The programmer can also decide what many of the features look like. In the case of the Browser Construction Kit, you get to be the programmer (sort of) and decide the type of window you want to use with your browser. In this chapter, you examine the many ways you can make your browser’s window special.
Window Command Category
The Window toolbox contains every command I discuss in this chapter. You display the Window toolbox by choosing the Window command category from the toolbox’s drop-down list. To get started, run the Browser Construction Kit. When the editor’s main window appears, choose the Window category in the lower-left corner of the window, as shown in Figure 4-1.
When you have the Window category selected, the Window commands appear on the buttons in the toolbox, also shown in Figure 4-1. To select a command, click the appropriate button. The following list describes the commands found in the Window command category:
Ii^ Color: Specifies the color of the window’s client area.
The client area is the rectangle where the window displays data. As such, the client area is the largest part of the window.
The
Part II: Customizing the Look of the Browser
Figure 4-1:
Choosing the Window category of commands.
^ Icon: Specifies the icon that appears in the window’s upper-left corner.
^ Style: Specifies the type of window to use, such as a normal window or a toolbar window.
^ Buttons: Specifies the buttons for the title bar.
^ Border: Specifies a border image to appear at the top and bottom of the window’s client area.
^ Skin: Specifies an image to use as a background in the window’s client area.
^ Title: Specifies the title that appears in the window’s title bar.
What you do after clicking the button you want depends on the command you choose. The rest of this chapter shows you how to apply these commands to the design of your custom browser’s window.
The Window Color
You can set the background color of the window’s client area to any color you want. To do so, click the Color button in the Window toolbox. When you do, the Color dialog box appears, as shown in Figure 4-2.
Chapter 4: Designing the Browser Window
Figure 4-2:
The Color dialog box.
Figure 4-3:
The expanded Color dialog box.
Color ___________________________l?iB
■ГГ1ГШГГ
В ■ ■ ■ ■ r ■ r
ГГГГГГГГ
ГГГГГГГГ
Define Custom Colon »
| OK I Caned I
In the Color dialog box, click the color you want and then click OK. The window’s background color immediately changes in the editor’s display.
If the colors in the Color dialog box don’t suit you, you can define your own. Simply click the Define Custom Colors button to expand the Color dialog box, shown in Figure 4-3. Pick the hue you want from the large color box and then select the shade from the narrow box to the right. When you have your color, click the Add To Custom Colors button, and the color appears in the Custom Colors boxes. Click the color you want and then click OK.
Pick the shade here Pick the hue here
Define Custom Colors button
Add to Custom Colors button
42
Part II: Customizing the Look of the Browser
Getting an exact color
If you want a very specific color, you can type color values directly into the Hue, Sat, and Lum boxes, or into the Red, Green, and Blue boxes.
Hue stands for . . . well, hue; Sat stands for saturation; and Lum stands for luminescence. The Red, Green, and Blue values, on the other hand, are the amount of red, green, and blue to mix to form the final color. These values can range from 0 to 255, with 0 being darkest and 255 being brightest. The value 0,0,0 is black, and the value 255,255,255 is white, with all other colors falling somewhere in between.
Previous << 1 .. 11 12 13 14 15 16 < 17 > 18 19 20 21 22 23 .. 84 >> Next