OPC Studio User's Guide and Reference
RunDialog Method (ConcreteCommonDialog)



OpcLabs.BaseLibForms Assembly > OpcLabs.BaseLib.Forms Namespace > ConcreteCommonDialog Class : RunDialog Method
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.
When overridden in a derived class, specifies a common dialog box. Specifies a common dialog box.
Syntax
'Declaration
 
Protected Overrides Function RunDialog( _
   ByVal hwndOwner As IntPtr _
) As Boolean
'Usage
 
Dim instance As ConcreteCommonDialog
Dim hwndOwner As IntPtr
Dim value As Boolean
 
value = instance.RunDialog(hwndOwner)
protected override bool RunDialog( 
   IntPtr hwndOwner
)
protected:
bool RunDialog( 
   IntPtr hwndOwner
) override 

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.

Return Value

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