CommonDialog::HookProc Method (IntPtr, Int32, IntPtr, IntPtr)
.NET Framework (current version)
Defines the common dialog box hook procedure that is overridden to add specific functionality to a common dialog box.
Assembly: PresentationFramework (in PresentationFramework.dll)
protected: [SecurityCriticalAttribute] virtual IntPtr HookProc( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam )
Parameters
- hwnd
-
Type:
System::IntPtr
Window handle for the Win32 dialog.
- msg
-
Type:
System::Int32
Windows message to be processed by the Win32 dialog.
- wParam
-
Type:
System::IntPtr
Parameters for dialog actions.
- lParam
-
Type:
System::IntPtr
Parameters for dialog actions.
HookProc handles dialog initialization by centering the dialog window, relative to the screen, and to set focus to the default control.
.NET Framework
Available since 3.0
Available since 3.0
Show: