Questions tagged [setwindowpos]
16 questions
-2
votes
1 answer
SetWindowPos not doing anything despite providing all parameters
I have imported SetWindowPos and GetForegroundWindow:
[DllImport("user32.dll", CharSet = CharSet.Ansi)]
private static extern IntPtr GetForegroundWindow();
[DllImport("user32.dll", CharSet = CharSet.Ansi)]
static extern bool SetWindowPos(IntPtr…
![](../../users/profiles/10659924.webp)
JonnyLee
- 65
- 7