Determines if a message is intended for the specified dialog box, and if so processes the message.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public Shared Function IsDialogMessageA ( _
hDlg As IntPtr, _
ByRef msg As MSG _
) As Boolean
'Usage
Dim hDlg As IntPtr
Dim msg As MSG
Dim returnValue As Boolean
returnValue = Win32Methods.IsDialogMessageA(hDlg, _
msg)
public static bool IsDialogMessageA(
IntPtr hDlg,
ref MSG msg
)
public:
static bool IsDialogMessageA(
IntPtr hDlg,
MSG% msg
)
public static function IsDialogMessageA(
hDlg : IntPtr,
msg : MSG
) : boolean
Parameters
hDlg
Type: System.IntPtrA handle to the child window.
msg
Type: Microsoft.VisualStudio.OLE.Interop.MSG%The message in question.
Return Value
Type: System.Boolean
true if the message has been processed, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.