Upravit

Sdílet prostřednictvím


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.

protected:
 virtual IntPtr OwnerWndProc(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam);
protected virtual IntPtr OwnerWndProc (IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam);
abstract member OwnerWndProc : nativeint * int * nativeint * nativeint -> nativeint
override this.OwnerWndProc : nativeint * int * nativeint * nativeint -> nativeint
Protected Overridable Function OwnerWndProc (hWnd As IntPtr, msg As Integer, wparam As IntPtr, lparam As IntPtr) As IntPtr

Parameters

hWnd
IntPtr

nativeint

The window handle of the message to send.

msg
Int32

The Win32 message to send.

wparam
IntPtr

nativeint

The wparam to send with the message.

lparam
IntPtr

nativeint

The lparam to send with the message.

Returns

IntPtr

nativeint

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