FileDialog::HookProc Method (IntPtr, Int32, IntPtr, IntPtr)
.NET Framework (current version)
Defines the common file dialog hook procedure that is overridden to add common functionality to a file dialog.
Assembly: PresentationFramework (in PresentationFramework.dll)
protected: [SecurityCriticalAttribute] virtual IntPtr HookProc( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam ) override
Parameters
- hwnd
-
Type:
System::IntPtr
Window handle for the Win32 dialog.
- msg
-
Type:
System::Int32
Message to be processed by the Win32 dialog.
- wParam
-
Type:
System::IntPtr
Parameters for dialog actions.
- lParam
-
Type:
System::IntPtr
Parameters for dialog actions.
Return Value
Type: System::IntPtrReturns Zero to indicate success; otherwise, a non-zero value is returned to indicate failure.
.NET Framework
Available since 3.0
Available since 3.0
Show: