FVSHOWINFOFVSHOWINFO*
*Contents  *Index  *Topic Contents
*Previous Topic: FOLDERSETTINGS
*Next Topic: HELPINFO

FVSHOWINFO


typedef struct {
    DWORD cbSize;
    HWND hwndOwner;
    int iShow;
    DWORD dwFlags;
    RECT rect;
    LPUNKNOWN punkRel;
    OLECHAR strNewFile[MAX_PATH];
} FVSHOWINFO, *LPFVSHOWINFO;

Contains information that the file viewer uses to display a file.

cbSize
Size of the structure, in bytes.
hwndOwner
Window handle to the owner of the window in which the file will be displayed.
iShow
Show command for the window. This parameter is one of the SW_ values detailed in ShowWindow.
dwFlags
Flags that determine what the file viewer displays. This member can be one or more of the following values:
FVSIF_CANVIEWIT The file viewer can display the file.
FVSIF_NEWFAILED The file viewer specified a new file to display, but no viewer could display the file. The file viewer should either continue to display the previous file or terminate.
FVSIF_NEWFILE A drag-and-drop operation has dropped a file on the file viewer window. The file viewer passes the name of the file to the shell by copying the name to the strNewFile member. The shell attempts to load a file viewer that can display the new file.
FVSIF_PINNED A pinned window exists. A file viewer should either use the pinned window to display the file or set a new pinned window and display the file in it.
FVSIF_RECT The rect member contains valid data.
rect
RECT structure that specifies the size and position of the file viewer's window. This member is valid only if the dwFlags member includes the FVSIF_RECT value.
punkRel
Address of an interface that has its Release method called by a new file viewer to release the previous file viewer. This member is used when a drag-and-drop operation drops a file on the file viewer's window.
strNewFile
Address of a string that specifies the name of a new file to display. A file viewer sets this member when a drag-and-drop operation drops a file on the file viewer's window.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.