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.

C#
public delegate bool DialogProc(IntPtr hwndDlg, int uMsg, IntPtr wParam, IntPtr lParam);

Parameters

hwndDlg
IntPtr

A handle to the dialog box.

uMsg
Int32

The message.

wParam
IntPtr

Additional message-specific information.

lParam
IntPtr

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

Proizvod Verzije
.NET Framework 2.0, 3.0, 3.5