Top "User32" questions

user32.

Using SystemParametersInfo from C# (SPI_GETSCREENREADER SPI_SETSCREENREADER)

Am I doing this correctly? [DllImport("user32", CharSet = CharSet.Auto)] internal static extern long SystemParametersInfo(long uAction, int lpvParam, ref …

c# user32
Get the title of the active window

I have declared the following WinAPI calls <DllImport("USER32.DLL", EntryPoint:="GetActiveWindow", SetLastError:=True, CharSet:=CharSet.Unicode, ExactSpelling:=True, …

vb.net winforms winapi dllimport user32
How to locate the window using findwindow function in windowapi using vba?

I am currently trying to find a way to check whether a window is open or not using Findwindow Function. …

vba excel window user32
WinForms equivalent of WPF WindowInteropHelper, HwndSource, HwndSourceHook

I have a block of code like: IntPtr hWnd = new WindowInteropHelper(this).Handle; HwndSource source = HwndSource.FromHwnd(hWnd); source.AddHook(…

c# .net winforms native user32
How can I be notified when a new window is created on Win32?

Is there a way using Win32, to register for notifications when a new window is created. I'm trying to keep …

winapi user32