Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.
const Int32 HWND_TOPMOST = -1; const Int32 SWP_NOACTIVATE = 0x0010; const Int32 SW_SHOWNOACTIVATE = 4; [DllImport ("user32.dll")] protected static extern bool ShowWindow (IntPtr hWnd, Int32 flags); [DllImport ("user32.dll")] protected static extern bool SetWindowPos (IntPtr hWnd, Int32 hWndInsertAfter, Int32 X, Int32 Y, Int32 cx, Int32 cy, uint uFlags); // Show the window without activating it. ShowWindow (this.Handle, SW_SHOWNOACTIVATE); // Equivalent to setting TopMost = true, except don't activate the window. SetWindowPos (this.Handle, HWND_TOPMOST, Left, Top, Width, Height, SWP_NOACTIVATE);
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.