• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Toolbars

Toolbars are a relatively recent addition to the standard GUI toolkit. Like context menus, they provide quick access to frequently used commands, and like context menus, you shouldn't try to include everything. At the very least, you should try to avoid multiple rows of buttons on any single Toolbar. Think of them as a context menu for the application as a whole.

Unlike many toolbar controls, the .NET Framework version doesn't double as a floating toolbox widget—the user can't reposition it, and it won't become a floating window when dragged away from the edge of a Form. In theory, you could capture the MouseDown event of the Toolbar control and allow users to drag it to a different edge of the form. You can create a graphic of the “four-dot” grabber widget that's used in Microsoft Office applications and elsewhere to provide a “move me” affordance. (This widget is shown in Figure 16-6, taken from Microsoft Office Word 2003.)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint