IVsRunningDocTableEvents2::OnBeforeDocumentWindowShow Method (UInt32, Int32, IVsWindowFrame^)
Visual Studio 2015
Called before displaying a document window.
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 attributes have been changed.
- fFirstShow
-
Type:
System::Int32
[in] Non-zero (TRUE) if the doc window is being displayed for the first time.
- pFrame
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsWindowFrame^
[in] The IVsWindowFrame interface object representing the frame that contains the document's window.
Return Value
Type: System::Int32If 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 IVsRunningDocTableEvents2::OnBeforeDocumentWindowShow( [in] VSCOOKIE docCookie, [in] BOOL fFirstShow, [in] IVsWindowFrame *pFrame );
Show: