X-Aim – Blame information for rev 1
?pathlinks?
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 | { |
||
8 | public const int SW_HIDE = 0; |
||
9 | |||
10 | public const int SW_SHOW = 5; |
||
11 | |||
12 | public const int SW_SHOWNORMAL = 1; |
||
13 | |||
14 | public const int SW_SHOWMAXIMIZED = 3; |
||
15 | |||
16 | public const int SW_RESTORE = 9; |
||
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 | } |