Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
shlobj.h
Unicode
No
Platform Notes
None

IFileViewerSite::SetPinnedWindow

[Now Supported on Windows NT]

Sets a new pinned window.

When the user selects a new file to view, the shell directs the file viewer to display the new file in the pinned window instead of creating a new window.

HRESULT SetPinnedWindow(

IFileViewerSite FAR *pFileVS,

HWND *hwnd

);

Parameters

pFileVs

Address of the IFileViewerSite interface. In C++, this parameter is implicit.

hwnd

Handle of the new pinned window or NULL if there is to be no pinned window.

Return Values

Returns the NOERROR value if successful or an OLE-defined error value otherwise.

See Also

IFileViewerSite

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database