• Libraries
  • File Formats and Data Stores
  • For more information, press only




    Download 1.69 Mb.
    bet9/11
    Sana25.03.2020
    Hajmi1.69 Mb.
    #8779
    1   2   3   4   5   6   7   8   9   10   11

    Managing Files and Data


    Users have easier access to files and data in Windows 7. New APIs make files and views more informative, enabling applications to deliver relevant and distinctive information to Windows Explorer. In addition, applications benefit from the new Libraries model—a useful, more abstract notion of user storage space than folders—and can also participate in common libraries of similar file types that are shared by different applications.

    Libraries


    Windows 7 introduces the concept of Libraries as destinations where developers and end-users can find and organize their data as collections of items that can span multiple locations on the local computer as well as on remote computers.

    The Library APIs provide a straightforward way for developers to create applications that create, interact with, and support Libraries as first-class items within applications. Libraries can also be selected by using the folder picker dialog box. Applications can enumerate relevant library scopes, or they can use the library directly as a folder.



    Windows 7’s new approach solves many of the previous API compatibility issues that previous versions struggled with, offering new API frameworks and supporting legacy frameworks through monolithic Libraries. This allows legacy applications to run smoothly, without compromising new performance enhancements for applications created for the Windows 7 platform. Ultimately, users can quickly and seamlessly upgrade without having to worry if their favorite programs will still work.

    Pictures Library shows your pictures no matter where they are stored


    File Formats and Data Stores


    In Windows 7, Windows Explorer makes file management and manipulation easier for the user in several ways:

    • The preview for your application’s file type is more accessible with a new button that lets users show and hide the preview pane.

    • Immersive visual stacks aggregate thumbnail images for file types in a view.

    • Windows Explorer views show useful information based on properties written with your property handler.

    • Document snippets and hit highlighting use your IFilter interface implementation to make searching and finding files easier.

    • Context-menu verbs and commands are easier than ever to implement.

    By implementing all of the appropriate format handlers for the items returned from your protocol handler, search results from your custom data store can be as rich as search results from files. Libraries are automatically created for your protocol handlers so users can scope their searches easily. And the logic for creating Libraries can be easily customized through the registry.

    In Windows 7, Windows Explorer makes file management and manipulation easier




    Download 1.69 Mb.
    1   2   3   4   5   6   7   8   9   10   11




    Download 1.69 Mb.