From 01a98c1a24837684cf05f65c5c1e335aed94c0b1 Mon Sep 17 00:00:00 2001 From: dahall Date: Wed, 29 Jul 2020 17:28:46 -0600 Subject: [PATCH] Added missing WindowStyles values --- PInvoke/User32/User32_WindowStyles.cs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/PInvoke/User32/User32_WindowStyles.cs b/PInvoke/User32/User32_WindowStyles.cs index 2be18ad7..23f3a642 100644 --- a/PInvoke/User32/User32_WindowStyles.cs +++ b/PInvoke/User32/User32_WindowStyles.cs @@ -90,7 +90,7 @@ namespace Vanara.PInvoke WS_POPUPWINDOW = WS_POPUP | WS_BORDER | WS_SYSMENU, /// The window has a sizing border. - WS_SIZEFRAME = 0x40000, + WS_THICKFRAME = 0x40000, /// The window has a window menu on its title bar. The WS_CAPTION style must also be specified. WS_SYSMENU = 0x80000, @@ -109,7 +109,24 @@ namespace Vanara.PInvoke WS_VISIBLE = 0x10000000, /// The window has a vertical scroll bar. - WS_VSCROLL = 0x200000 + WS_VSCROLL = 0x200000, + + /// + /// The window is an overlapped window. An overlapped window has a title bar and a border. Same as the WS_OVERLAPPED style. + /// + WS_TILED = WS_OVERLAPPED, + + /// The window is initially minimized. Same as the WS_MINIMIZE style. + WS_ICONIC = WS_MINIMIZE, + + /// The window has a sizing border. Same as the WS_THICKFRAME style. + WS_SIZEBOX = WS_THICKFRAME, + + /// The window is an overlapped window. Same as the WS_OVERLAPPEDWINDOW style. + WS_TILEDWINDOW = WS_OVERLAPPEDWINDOW, + + /// Same as the WS_CHILD style. + WS_CHILDWINDOW = WS_CHILD, } /// Extended window styles.