DialogProc Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.