You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Windows/Avalonia.Win32/Interop/UnmanagedMethods.cs
+41-1Lines changed: 41 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -105,18 +105,58 @@ public enum SizeCommand
105
105
106
106
publicenumShowWindowCommand
107
107
{
108
+
/// <summary>
109
+
/// Hides the window and activates another window.
110
+
/// </summary>
108
111
Hide=0,
112
+
/// <summary>
113
+
/// Activates and displays a window. If the window is minimized, maximized, or arranged, the system restores it to its original
114
+
/// size and position. An application should specify this flag when displaying the window for the first time.
115
+
/// </summary>
109
116
Normal=1,
117
+
/// <summary>
118
+
/// Activates the window and displays it as a minimized window.
119
+
/// </summary>
110
120
ShowMinimized=2,
121
+
/// <summary>
122
+
/// Activates the window and displays it as a maximized window.
123
+
/// </summary>
111
124
Maximize=3,
112
-
ShowMaximized=3,
125
+
/// <inheritdoc cref="Maximize"/>
126
+
ShowMaximized=Maximize,
127
+
/// <summary>
128
+
/// Displays a window in its most recent size and position. This value is similar to <see cref="Normal"/>, except that the window is not activated.
129
+
/// </summary>
113
130
ShowNoActivate=4,
131
+
/// <summary>
132
+
/// Activates the window and displays it in its current size and position.
133
+
/// </summary>
114
134
Show=5,
135
+
/// <summary>
136
+
/// Minimizes the specified window and activates the next top-level window in the Z order.
137
+
/// </summary>
115
138
Minimize=6,
139
+
/// <summary>
140
+
/// Displays the window as a minimized window. This value is similar to <see cref="ShowMinimized"/>, except the window is not activated.
141
+
/// </summary>
116
142
ShowMinNoActive=7,
143
+
/// <summary>
144
+
/// Displays the window in its current size and position. This value is similar to <see cref="Show"/>, except that the window is not activated.
145
+
/// </summary>
117
146
ShowNA=8,
147
+
/// <summary>
148
+
/// Activates and displays the window. If the window is minimized, maximized, or arranged, the system restores it to its original size and position.
149
+
/// An application should specify this flag when restoring a minimized window.
150
+
/// </summary>
118
151
Restore=9,
152
+
/// <summary>
153
+
/// Sets the show state based on the <see cref="ShowWindowCommand"/> value specified in the STARTUPINFO structure passed to the CreateProcess function
154
+
/// by the program that started the application.
155
+
/// </summary>
119
156
ShowDefault=10,
157
+
/// <summary>
158
+
/// Minimizes a window, even if the thread that owns the window is not responding. This flag should only be used when minimizing windows from a different thread.
0 commit comments