You can use EVENT_MIN, EVENT_MAX
and in the WinEventProc, you can do something like :
if (idObject == OBJID_WINDOW)
{
if (eventConst == EVENT_OBJECT_LOCATIONCHANGE)
{
if (IsZoomed(hWnd))
Console.Beep(1000, 10);
}
}
with
[DllImport("User32.dll", SetLastError = true)]
public static extern bool IsZoomed(IntPtr hWnd);