[This is preliminary documentation and is subject to change.]
Automatically centers all new windows shown by the current thread over a given owner Form.
| C# | Visual Basic | Visual C++ |
public sealed class AutoCenterWindows : IDisposable
Public NotInheritable Class AutoCenterWindows _ Implements IDisposable
public ref class AutoCenterWindows sealed : IDisposable
| All Members | Constructors | Methods | Fields | ||
| Icon | Member | Description |
|---|---|---|
| AutoCenterWindows(Form, AutoCenterWindowsMode) |
Initializes a new instance of the AutoCenterWindows class with a given Form and AutoCenterWindowsMode.
| |
| Dispose()()()() |
Releases all resources used by the AutoCenterWindows.
| |
| Equals(Object) | (Inherited from Object.) | |
| FieldGetter(String, String, Object%) | (Inherited from Object.) | |
| FieldSetter(String, String, Object) | (Inherited from Object.) | |
| Finalize()()()() | (Overrides Object.Finalize()()()().) | |
| GetFieldInfo(String, String) | (Inherited from Object.) | |
| GetHashCode()()()() | (Inherited from Object.) | |
| GetType()()()() | (Inherited from Object.) | |
| GWL_HINSTANCE | ||
| HCBT_ACTIVATE | ||
| Hook | ||
| Hooked | ||
| MemberwiseClone()()()() | (Inherited from Object.) | |
| Mode | ||
| Owner | ||
| SetHook()()()() | ||
| SWP_NOACTIVATE | ||
| SWP_NOSIZE | ||
| SWP_NOZORDER | ||
| ToString()()()() | (Inherited from Object.) | |
| UnsetHook()()()() | ||
| WH_CBT | ||
| WindowHookProc(Int32, IntPtr, IntPtr) |
| Object | |
| AutoCenterWindows | |