diff --git a/src/toolkit/Community.VisualStudio.Toolkit.Shared/Windows/WindowFrame.cs b/src/toolkit/Community.VisualStudio.Toolkit.Shared/Windows/WindowFrame.cs index 9ea41c8..3cc5b18 100644 --- a/src/toolkit/Community.VisualStudio.Toolkit.Shared/Windows/WindowFrame.cs +++ b/src/toolkit/Community.VisualStudio.Toolkit.Shared/Windows/WindowFrame.cs @@ -1,4 +1,4 @@ -// ================================================================================================ +// ================================================================================================ // WindowFrame.cs // // Created: 2008.07.02, by Istvan Novak (DeepDiver) @@ -440,6 +440,13 @@ public enum FramePosition /// /// Specifies options when the show state of a window frame changes. /// + /// + /// This combines the values from + /// , + /// , + /// and + /// . + /// public enum FrameShow { /// @@ -486,7 +493,32 @@ public enum FrameShow /// Auto-hidden window is about to slide into view. /// Equivalent to . /// - AutoHideSlideBegin = __FRAMESHOW.FRAMESHOW_AutoHideSlideBegin + AutoHideSlideBegin = __FRAMESHOW.FRAMESHOW_AutoHideSlideBegin, + /// + /// A window is about to be hidden. + /// Equivalent to . + /// + BeforeHidden = __FRAMESHOW2.FRAMESHOW_BeforeWinHidden, + /// + /// Auto-hidden window is finished sliding into view. + /// Equivalent to . + /// + AutoHideSlideEnd = __FRAMESHOW2.FRAMESHOW_AutoHideSlideEnd, + /// + /// A window is activated (made visible). + /// Equivalent to . + /// + Activated = __FRAMESHOW3.FRAMESHOW_WinActivated, + /// + /// The window's inner content received keyboard focus. + /// Equivalent to . + /// + ContentGotFocus = __FRAMESHOW4.FRAMESHOW_WinContentGotFocus, + /// + /// The window's inner content lost keyboard focus. + /// Equivalent to . + /// + ContentLostFocus = __FRAMESHOW4.FRAMESHOW_WinContentLostFocus } /// @@ -573,4 +605,16 @@ public WindowFrameDockChangedEventArgs(Rectangle position, bool docked) Docked = docked; } } + + +#if VS14 + /// + /// __FRAMESHOW4 was first defined in Visual Studio 15. + /// + internal enum __FRAMESHOW4 + { + FRAMESHOW_WinContentGotFocus = 13, + FRAMESHOW_WinContentLostFocus + } +#endif } \ No newline at end of file