Win32Methods.IsDialogMessageA Method
Determines if a message is intended for the specified dialog box, and if so processes the message.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Function IsDialogMessageA ( _
hDlg As IntPtr, _
ByRef msg As MSG _
) As Boolean
public static bool IsDialogMessageA(
IntPtr hDlg,
ref MSG msg
)
public:
static bool IsDialogMessageA(
IntPtr hDlg,
MSG% msg
)
static member IsDialogMessageA :
hDlg:IntPtr *
msg:MSG byref -> bool
public static function IsDialogMessageA(
hDlg : IntPtr,
msg : MSG
) : boolean
Parameters
- hDlg
Type: System.IntPtr
A 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.