X-Aim – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using System;
2 using System.Runtime.InteropServices;
3  
4 namespace X_Aim
5 {
6 public static class Natives
7 {
3 office 8 public const int SwHide = 0;
1 office 9  
3 office 10 public const int SwShow = 5;
1 office 11  
3 office 12 public const int SwShownormal = 1;
1 office 13  
3 office 14 public const int SwShowmaximized = 3;
1 office 15  
3 office 16 public const int SwRestore = 9;
1 office 17  
18 [DllImport("user32.dll")]
19 public static extern bool SetForegroundWindow(IntPtr hWnd);
20  
21 [DllImport("user32.dll")]
22 public static extern bool AllowSetForegroundWindow(uint dwProcessId);
23  
24 [DllImport("user32.dll")]
25 public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
26 }
27 }