CommonDialog::RunDialog Method (IntPtr)
.NET Framework (current version)
When overridden in a derived class, specifies a common dialog box.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
protected: [SecurityPermissionAttribute(SecurityAction::InheritanceDemand, Flags = SecurityPermissionFlag::UnmanagedCode)] virtual bool RunDialog( IntPtr hwndOwner ) abstract
Parameters
- hwndOwner
-
Type:
System::IntPtr
A value that represents the window handle of the owner window for the common dialog box.
This method is invoked when the user of a common dialog box calls ShowDialog, and it must be overridden by inherited classes of CommonDialog to implement a specific common dialog box.
SecurityPermission
for unmanaged code to call this method. Associated enumeration: UnmanagedCode
.NET Framework
Available since 1.1
Available since 1.1
Show: