Export (0) Print
Expand All

FileDialog.HookProc Method

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

Namespace: Microsoft.Win32
Assembly: PresentationFramework (in presentationframework.dll)

protected override IntPtr HookProc (
	IntPtr hwnd,
	int msg,
	IntPtr wParam,
	IntPtr lParam
)
protected IntPtr HookProc (
	IntPtr hwnd, 
	int msg, 
	IntPtr wParam, 
	IntPtr lParam
)
protected override function HookProc (
	hwnd : IntPtr, 
	msg : int, 
	wParam : IntPtr, 
	lParam : IntPtr
) : IntPtr
You cannot use methods in XAML.

Parameters

hwnd

Window handle for the Win32 dialog.

msg

Message to be processed by the Win32 dialog.

wParam

Parameters for dialog actions.

lParam

Parameters for dialog actions.

Return Value

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft