Partager via


Win32Methods.IsDialogMessageA Method

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

Namespace:  Microsoft.VisualStudio
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Déclaration
Public Shared Function IsDialogMessageA ( _
    hDlg As IntPtr, _
    ByRef msg As MSG _
) As Boolean
'Utilisation
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
)
static member IsDialogMessageA : 
        hDlg:IntPtr * 
        msg:MSG byref -> bool 
public static function IsDialogMessageA(
    hDlg : IntPtr, 
    msg : MSG
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the message has been processed, otherwise false.

.NET Framework Security

See Also

Reference

Win32Methods Class

Win32Methods Members

Microsoft.VisualStudio Namespace