SidebarDiagnostics.Windows.AppBarWindow.SetPos C# (CSharp) Method

SetPos() private method

private SetPos ( IntPtr hwnd_after, bool activate ) : void
hwnd_after System.IntPtr
activate bool
return void
        private void SetPos(IntPtr hwnd_after, bool activate)
        {
            uint _uflags = HWND_FLAG.SWP_NOMOVE | HWND_FLAG.SWP_NOSIZE;

            if (!activate)
            {
                _uflags |= HWND_FLAG.SWP_NOACTIVATE;
            }

            NativeMethods.SetWindowPos(
                new WindowInteropHelper(this).Handle,
                hwnd_after,
                0,
                0,
                0,
                0,
                _uflags
                );
        }