More Win32 support

This commit is contained in:
2015-10-23 20:20:25 -04:00
parent 00c0981034
commit fb82df5ff8
2 changed files with 50 additions and 3 deletions

View File

@@ -138,13 +138,40 @@ namespace Common.Native
}
[Flags]
public enum ExtendedWindowStyles
public enum WindowStyles : uint
{
Overlapped = 0x00000000,
Caption = 0x00C00000,
SystemMenu = 0x00080000,
ThickFrame = 0x00040000,
MinimizeBox = 0x00020000,
MaximizeBox = 0x00010000,
Visible = 0x10000000,
Child = 0x40000000,
Popup = 0x80000000,
OverlappedWindow = Overlapped | Caption | SystemMenu | ThickFrame | MinimizeBox | MaximizeBox
}
[Flags]
public enum ExtendedWindowStyles : long
{
DialogModalFrame = 0x00000001,
ToolWindow = 0x00000080,
AppWindow = 0x00040000,
WindowEdge = 0x00000100,
ClientEdge = 0x00000200,
OverlappedWindow = WindowEdge | ClientEdge
}
public enum GetWindowFields
{
Owner = 4
}
public enum GetWindowLongFields
{
Parent = -8,
Style = -16,
ExStyle = -20,
}