User32IsDialogMessage Method

Determines whether a message is intended for the specified dialog box and, if it is, processes the message.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ThrowOnUnmappableChar = true)]
public static bool IsDialogMessage(
	IntPtr hDlg,
	ref NativeMessage refMsg
)

Parameters

hDlg  IntPtr
A handle to the dialog box.
refMsg  NativeMessage
A pointer to an NativeMessage structure that contains the message to be checked.

Return Value

Boolean
If the message has been processed, the return value is .

If the message has not been processed, the return value is .

Remarks

See Also