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
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: IntPtr

    A handle to the child window.

Return Value

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

.NET Framework Security

See Also

Reference

Win32Methods Class

Microsoft.VisualStudio Namespace