User32IsDialogMessage Method
Determines whether a message is intended for the specified dialog box and, if it is, processes the message.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("User32.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ThrowOnUnmappableChar := true>]
Public Shared Function IsDialogMessage (
hDlg As IntPtr,
ByRef refMsg As NativeMessage
) As Boolean
Dim hDlg As IntPtr
Dim refMsg As NativeMessage
Dim returnValue As Boolean
returnValue = User32.IsDialogMessage(hDlg,
refMsg)
public:
[DllImportAttribute(L"User32.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true)]
static bool IsDialogMessage(
IntPtr hDlg,
NativeMessage% refMsg
)
[<DllImportAttribute("User32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true)>]
static member IsDialogMessage :
hDlg : IntPtr *
refMsg : NativeMessage byref -> bool
No code example is currently available or this language may not be supported.
- hDlg IntPtr
-
A handle to the dialog box.
- refMsg NativeMessage
-
A pointer to an NativeMessage structure that contains the message to be checked.
Boolean
If the message has been processed, the return value is
.
If the message has not been processed, the return value is
.