Editare

Partajați prin


FileDialog.HookProc(IntPtr, Int32, IntPtr, IntPtr) Method

Definition

Defines the common file dialog hook procedure that is overridden to add common functionality to a file dialog.

protected:
 override IntPtr HookProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam);
[System.Security.SecurityCritical]
protected override IntPtr HookProc (IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam);
protected override IntPtr HookProc (IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam);
[<System.Security.SecurityCritical>]
override this.HookProc : nativeint * int * nativeint * nativeint -> nativeint
override this.HookProc : nativeint * int * nativeint * nativeint -> nativeint
Protected Overrides Function HookProc (hwnd As IntPtr, msg As Integer, wParam As IntPtr, lParam As IntPtr) As IntPtr

Parameters

hwnd
IntPtr

nativeint

Window handle for the Win32 dialog.

msg
Int32

Message to be processed by the Win32 dialog.

wParam
IntPtr

nativeint

Parameters for dialog actions.

lParam
IntPtr

nativeint

Parameters for dialog actions.

Returns

IntPtr

nativeint

Returns Zero to indicate success; otherwise, a non-zero value is returned to indicate failure.

Attributes

Applies to