|
About File Viewers
The shell allows the user to browse the information in the file system and on
the network. The Quick View feature of the shell allows the user to quickly
view the contents of a file without having to run the full application that
created it and without even the presence of the application. To view the file
contents, the user selects a file and chooses the Quick View command from the context
menu of the selection (or from the File menu). The following illustration shows
the context menu.
In response to the user choosing the Quick View command, the shell activates a
file-specific viewer for the selected file. The shell uses the extension of
the file to determine which viewer to activate. A file viewer associates itself
with file classes and filename extensions in the system registry.
A file viewer is an OLE component object (not a compound document object)
implemented inside a 32-bit in-process server dynamic-link library (DLL), which is
associated, in turn, with the file viewer's class identifier. A file viewer
provides the user interface for viewing a file. Menu items, a toolbar, and a
status bar are standard parts of the file viewer interface. A file viewer can
optionally add other functionality for further shell integration.
A file viewer object, which is separate from the class factory object in the
in-process server, uses the standard OLE IPersistFile interface as well as the IFileViewer interface. The shell does not interact directly with file viewer objects.
Instead, the shell starts an instance of a small program called Quick View
(QUIKVIEW.EXE) for each file to be viewed. Each instance of Quick View defines a
process for a file viewer, giving the viewer its own message queue. Although Quick
View is a Windows executable file, it is not a complete application. It
associates a path with a file viewer, creates an instance of the file viewer object,
and instructs the file viewer to load and display the file.
Because a file viewer is an OLE component object, additional interfaces and
functionality can be added in future versions of Windows to support new features.
For example, a file viewer can act as an OLE container application and can
perform in-place activation of embedded objects inside the file being viewed. A
file viewer can let the user make a selection in a document and copy the
selection to the clipboard or use the selection in a drag and drop operation. However,
such functionality is entirely up to the developer of the file viewer. This
overview describes the basic functionality that a file viewer must provide and
discusses user interface guidelines that all developers of file viewers should
follow.
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|