IVsRunningDocTableEvents::OnBeforeDocumentWindowShow Method (UInt32, Int32, IVsWindowFrame^)

 

Called before displaying a document window.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int OnBeforeDocumentWindowShow(
	unsigned int docCookie,
	int fFirstShow,
	IVsWindowFrame^ pFrame
)

Parameters

docCookie
Type: System::UInt32

[in] Abstract value representing the document whose window is about to be shown.

fFirstShow
Type: System::Int32

[in] Non-zero (TRUE) if the document window is being displayed for the first time.

pFrame
Type: Microsoft.VisualStudio.Shell.Interop::IVsWindowFrame^

[in] The IVsWindowFrame object representing the frame containing the document's window.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

This method is called just before the document's window is shown.

From vsshell.idl:

HRESULT IVsRunningDocTableEvents::OnBeforeDocumentWindowShow(
   [in] VSCOOKIE docCookie,
   [in] BOOL fFirstShow,
   [in] IVsWindowFrame *pFrame
);
Return to top
Show: