public override void SetNextLayout(IntPtr focusedWindow, Layout.LayoutType nextLayout) { if (focusedWindow == HWnd) { this.nextLayout = nextLayout; } }
public override void SetNextLayout(IntPtr focusedWindow, Layout.LayoutType nextLayout) { if (BaseContainer == null) { this.nextLayout = nextLayout; } else if (BaseContainer.ContainsWindow(focusedWindow)) { BaseContainer.SetNextLayout(focusedWindow, nextLayout); } }
/// <summary> /// Used to tell the last handled focused window that it should /// transform into the specified layout, next time a window is inserted /// and that this window is focused. This message should be transmitted /// to the sub-container handling this window. /// </summary> /// <param name="focusedWindow">The last handled focused window</param> /// <param name="nextLayout">The layout to transform into</param> public virtual void SetNextLayout(IntPtr focusedWindow, Layout.LayoutType nextLayout) { throw new NotImplementedException(); }