CommonDialog.OwnerWndProc(IntPtr, Int32, IntPtr, IntPtr) Method

Definition

Defines the owner window procedure that is overridden to add specific functionality to a common dialog box.

C#
protected virtual IntPtr OwnerWndProc(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam);

Parameters

hWnd
IntPtr

The window handle of the message to send.

msg
Int32

The Win32 message to send.

wparam
IntPtr

The wparam to send with the message.

lparam
IntPtr

The lparam to send with the message.

Returns

IntPtr

The result of the message processing, which is dependent on the message sent.

Remarks

Control is transferred here when messages are sent to the owner window of the common dialog box. Inheriting classes can override this method to add specific functionality to a common dialog box.

Applies to

Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10