NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CommonDialog.OwnerWndProc

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

[Visual Basic]
Overridable Protected Function OwnerWndProc( _
   ByVal hWnd As Integer, _
   ByVal msg As Integer, _
   ByVal wParam As Integer, _
   ByVal lParam As Integer _
) As Integer
[C#]
protected virtual int OwnerWndProc(
   int hWnd,
   int msg,
   int wParam,
   int lParam
);
[C++]
protected: virtual int OwnerWndProc(
   int hWnd,
   int msg,
   int wParam,
   int lParam
);
[JScript]
protected function OwnerWndProc(
   hWnd : int,
   msg : int,
   wParam : int,
   lParam : int
) : int;

Parameters

hWnd
The window handle of the message to send.
msg
The Win32 message to send.
wParam
The wParam to send with the message.
lParam
The lParam to send with the message.

Return Value

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

Remarks

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

See Also

CommonDialog Class | CommonDialog Members | System.WinForms Namespace