IVsRunningDocTableEvents3.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelée avant l'affichage d'une fenêtre de document.
public:
int OnBeforeDocumentWindowShow(System::UInt32 docCookie, int fFirstShow, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame);
public:
int OnBeforeDocumentWindowShow(unsigned int docCookie, int fFirstShow, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ pFrame);
int OnBeforeDocumentWindowShow(unsigned int docCookie, int fFirstShow, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & pFrame);
public int OnBeforeDocumentWindowShow (uint docCookie, int fFirstShow, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame pFrame);
abstract member OnBeforeDocumentWindowShow : uint32 * int * Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame -> int
Public Function OnBeforeDocumentWindowShow (docCookie As UInteger, fFirstShow As Integer, pFrame As IVsWindowFrame) As Integer
Paramètres
- docCookie
- UInt32
[in] Valeur abstraite qui représente le document dont les attributs ont été modifiés.
- fFirstShow
- Int32
[in] Différent de zéro (TRUE) si la fenêtre de document s'affiche pour la première fois.
- pFrame
- IVsWindowFrame
[in] Objet d'interface IVsWindowFrame représentant le frame qui contient la fenêtre du document.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Implémente
Remarques
Signature COM
À partir de vsshell. idl :
HRESULT IVsRunningDocTableEvents3::OnBeforeDocumentWindowShow(
[in] VSCOOKIE docCookie,
[in] BOOL fFirstShow,
[in] IVsWindowFrame *pFrame
);