Bewerken

Delen via


DialogProc Delegate

Definition

Processes messages that are sent to a modal or modeless dialog box.

This API supports the product infrastructure and is not intended to be used directly from your code.

public delegate bool DialogProc(IntPtr hwndDlg, int uMsg, IntPtr wParam, IntPtr lParam);
public delegate bool DialogProc(IntPtr hwndDlg, int uMsg, IntPtr wParam, IntPtr lParam);
type DialogProc = delegate of nativeint * int * nativeint * nativeint -> bool
Public Delegate Function DialogProc(hwndDlg As IntPtr, uMsg As Integer, wParam As IntPtr, lParam As IntPtr) As Boolean 

Parameters

hwndDlg
IntPtr

nativeint

A handle to the dialog box.

uMsg
Int32

The message.

wParam
IntPtr

nativeint

Additional message-specific information.

lParam
IntPtr

nativeint

Additional message-specific information.

Return Value

true if the DialogProc successfully processed the message; otherwise, false.

Remarks

For more information about programming with the DialogProc function and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Applies to