Interface IWindowProcessor
- Namespace
- Whim
- Assembly
- Whim.dll
Represents a processor for events from Windows. This is for windows with non-standard behavior.
For example, Firefox will try reset the window position on startup. The FirefoxWindowProcessor
will ignore these events.
public interface IWindowProcessor
Properties
Window
The window that this processor is for.
IWindow Window { get; }
Property Value
Methods
ProcessEvent(uint, int, int, uint, uint)
Processes the given event.
For more about the arguments, see https://docs.microsoft.com/en-us/windows/win32/api/winuser/nc-winuser-wineventproc
WindowProcessorResult ProcessEvent(uint eventType, int idObject, int idChild, uint idEventThread, uint dwmsEventTime)
Parameters
Returns
- WindowProcessorResult
- Whether the event should be ignored by Whim.