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;
The result of the message processing, which is dependent on the message sent.
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.
CommonDialog Class | CommonDialog Members | System.WinForms Namespace