When overridden in a derived class, specifies a common dialog box. Specifies a common dialog box. Specifies a common dialog box.
Syntax
'Declaration
Protected Overrides NotOverridable Function RunDialog( _
ByVal As IntPtr _
) As Boolean
'Usage
Dim instance As OpcServerDialog
Dim hwndOwner As IntPtr
Dim value As Boolean
value = instance.RunDialog(hwndOwner)
Parameters
- hwndOwner
- A value that represents the window handle of the owner window for the common dialog box.A value that represents the window handle of the owner window for the common dialog box. A value that represents the window handle of the owner window for the common dialog box.
Return Value
true if the dialog box was successfully run; otherwise, false.true if the dialog box was successfully run; otherwise, false.true if the dialog box was successfully run; otherwise, false.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also