IsDialogMessage function user32
Determines whether a message is intended for the specified dialog box and, if it is, processes the message.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-isdialogmessagew.
Implementation
@pragma('vm:prefer-inline')
bool IsDialogMessage(HWND hDlg, Pointer<MSG> lpMsg) =>
_IsDialogMessage(hDlg, lpMsg) != FALSE;