DesignerDocDataService::IVsRunningDocTableEvents::OnBeforeDocumentWindowShow Method (UInt32, Int32, IVsWindowFrame^)
Visual Studio 2015
Called before a document window is displayed.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
private: virtual int OnBeforeDocumentWindowShow( unsigned int docCookie, int firstShow, IVsWindowFrame^ pFrame ) sealed = IVsRunningDocTableEvents::OnBeforeDocumentWindowShow
Parameters
- docCookie
-
Type:
System::UInt32
The identifier of the document data object in the Running Document Table.
- firstShow
-
Type:
System::Int32
true if the window will be displayed for the first time, otherwise false.
- pFrame
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsWindowFrame^
The IVsWindowFrame interface of the window that will be displayed.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This method registers the window pane as an independent view.
Show: