Chapter 6. Property Sheet Handlers

only for RuBoard - do not distribute or recompile

Chapter 6. Property Sheet Handlers

A standard set of properties is available for every file object via the Properties context menu or by selecting File figs/u2192.gif Properties from Explorer's main menu. These properties include things like file attributes, size , location, date created, and so on. The information is made available in a tabbed dialog, as shown in Figure 6.1, providing the user with an opportunity to change a file's attributes (in the most generic implementation). Property sheet handlers permit additional pages to be added to this dialog, allowing the possibility of additional file processing.

Microsoft Word is a good example of this functionality in action, as it adds four additional property pages to the standard dialog for its .doc file type. These additional property pages allow users to modify .doc file attributes like title, author, and subject of a document without having to start Microsoft Word. Figure 6.2, for instance, shows the Summary property sheet of a Microsoft Word .doc file, an interface element added by Word's property sheet handler.

Figure 6.1. Property page dialog
figs/vshl.0601.gif
Figure 6.2. Word Summary property sheet
figs/vshl.0602.gif
only for RuBoard - do not distribute or recompile


Visual Basic Shell Programming
Visual Basic Shell Programming
ISBN: B00007FY99
EAN: N/A
Year: 2000
Pages: 128

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net