ElectronBrowserWindow.hookWindowMessage method
ElectronBrowserWindow › hookWindowMessage
Unofficial
Hooks a windows message. Thecallback is called when the message is received in the WndProc (Windows only). Signature:
hookWindowMessage(message: number, callback: (wParam: unknown, lParam: unknown) => void): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| message | number | The message identifier. |
| callback | (wParam: unknown, lParam: unknown) => void | The callback invoked when the message is received. |
Returns: void