IWin32Window

IWin32Window

System. Windows .Forms (system. windows .forms.dll) interface

This interface is implemented by classes that wrap a system window. Most visual classes in the Windows Forms framework ultimately wrap a Win32 window, and this interface is implemented by Control to support that. It provides the Handle property to retrieve the underlying HWND for the window.

Note that not everything that is apparently a window is actually a window. For example, all the components of the Win32 ExplorerBar are actually rendered into a single Win32 window.

 public interface  IWin32Window  {  // Public Instance Properties  public IntPtr  Handle  {get; } } 

Implemented By

Control

Returned By

System.Windows.Forms.Design.IUIService.GetDialogOwnerWindow()

Passed To

CommonDialog.ShowDialog() , System.Windows.Forms.Design.ComponentEditorForm.ShowForm() , System.Windows.Forms.Design.IUIService.ShowComponentEditor() , System.Windows.Forms.Design.WindowsFormsComponentEditor.EditComponent() , Form.ShowDialog() , MessageBox.Show()



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net