Quick Info

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

IShellView::CreateViewWindow

[Now Supported on Windows NT]

CreateViewWindow creates a view window. This can be either the right pane of the Explorer or the client window of a folder window.

RESULT CreateViewWindow(

ISHELLLINK *lpPrevView,
// Points to previous view
LPFOLDERSETTINGS lpfs,
// Points to FOLDERSETTINGS
IShellBrowser *psb,
// Points to shell browser
RECT *prcView,
// Points to the rect the defines the view size
HWND *phWnd
// Points to the returned window handle
);

Parameters

lpPrevView

Pointer to the view window being exited. Views can use it to talk to a previous view of the same implementation. This can be used to optimize browsing between like views. This pointer may be NULL.

lpfs

Pointer to a FOLDERSETTINGS structure. The view should use this when creating its view.

psb

Pointer to the current instance of IShellBrowser. The view should AddRef this pointer and keep it to allow communication with the Explorer window.

prcView

Specifies the dimensions in client coordinates in which the view should create itself.

phWnd

Pointer to the handle of the window being created.

Return Values

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

Remarks

This is the call that creates the view.

Notes to Callers

Call this method when the view needs to be created.

Notes to Implementors

Create your view window and restore any persistent state by calling IShellBrowser::GetViewStateStream.

See Also

IShellView
, IShellBrowser::GetViewStateStream

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