Method | Description | |
---|---|---|
ApplyIconFromApplication ( this window ) : void |
Applies the icon from the entry assembly (the application) to the window.
|
|
BringWindowToTop ( this window ) : void |
Brings to specified window to top.
|
|
GetWindowHandle ( this window ) : |
Gets the window handle of the specified window.
|
|
RemoveIcon ( this window ) : void |
Removes the icon from the window.
|
|
SetOwnerWindow ( this window, |
Sets the owner window of a specific window via the window handle.
|
|
SetOwnerWindow ( this window, |
Sets the owner window of a specific window via the Window class.
|
|
SetOwnerWindow ( this window, bool forceNewOwner = false, bool focusFirstControl = false ) : void |
Sets the owner window to the main window of the current process.
|
|
SetOwnerWindowAndFocus ( this window, |
Sets the owner window of a specific window via the window handle, but also sets the focus on the first control.
|
|
SetOwnerWindowAndFocus ( this window, |
Sets the owner window of a specific window via the Window class, but also sets the focus on the first control.
|
|
SetOwnerWindowAndFocus ( this window, bool forceNewOwner = false ) : void |
Sets the owner window to the main window of the current process, but also sets the focus on the first control.
|
Method | Description | |
---|---|---|
BringWindowToTop ( |
||
GetProcessMainWindowHandle ( ) : |
Returns the main window handle of the current process.
|
|
GetWindowLong ( |
||
GetWindowRect ( |
||
HasOwner ( |
Returns whether the window currently has an owner.
|
|
SendMessage ( |
||
SetOwnerWindow ( |
Sets the owner window of a specific window. It will first try to set the owner via the ownerWindow. If the ownerWindow is not available, this method will use the ownerHandle to set the parent.
|
|
SetOwnerWindowByHandle ( |
Sets the owner window of a specific window via the window handle.
|
|
SetOwnerWindowByWindow ( |
Sets the owner window of a specific window.
|
|
SetWindowLong ( |
||
SetWindowPos ( |
public static ApplyIconFromApplication ( this window ) : void | ||
window | this | The window. |
return | void |
public static BringWindowToTop ( this window ) : void | ||
window | this | The window to bring to top. |
return | void |
public static GetWindowHandle ( this window ) : |
||
window | this | The window. |
return |
public static RemoveIcon ( this window ) : void | ||
window | this | The window. |
return | void |
public static SetOwnerWindow ( this window, |
||
window | this | Reference to the current window. |
owner | New owner window. | |
forceNewOwner | bool | If true, the new owner will be forced. Otherwise, if the /// window currently has an owner, that owner will be respected (and thus not changed). |
return | void |
public static SetOwnerWindow ( this window, |
||
window | this | Reference to the current window. |
owner | New owner window. | |
forceNewOwner | bool | If true, the new owner will be forced. Otherwise, if the /// window currently has an owner, that owner will be respected (and thus not changed). |
return | void |
public static SetOwnerWindow ( this window, bool forceNewOwner = false, bool focusFirstControl = false ) : void | ||
window | this | Reference to the current window. |
forceNewOwner | bool | If true, the new owner will be forced. Otherwise, if the /// window currently has an owner, that owner will be respected (and thus not changed). |
focusFirstControl | bool | If true, the first control will automatically be focused. |
return | void |
public static SetOwnerWindowAndFocus ( this window, |
||
window | this | Reference to the current window. |
owner | New owner window. | |
forceNewOwner | bool | If true, the new owner will be forced. Otherwise, if the /// window currently has an owner, that owner will be respected (and thus not changed). |
return | void |
public static SetOwnerWindowAndFocus ( this window, |
||
window | this | Reference to the current window. |
owner | New owner window. | |
forceNewOwner | bool | If true, the new owner will be forced. Otherwise, if the /// window currently has an owner, that owner will be respected (and thus not changed). |
return | void |
public static SetOwnerWindowAndFocus ( this window, bool forceNewOwner = false ) : void | ||
window | this | Reference to the current window. |
forceNewOwner | bool | If true, the new owner will be forced. Otherwise, if the /// window currently has an owner, that owner will be respected (and thus not changed). |
return | void |