mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 14:03:23 -07:00
Revert of the change to the DWMWINDOWATTRIBUTE, as the enum values were not fixed we lost some functionality. Also fixed some potential issues with the ThumbnailForm, and aligned a bit of code with Dapplo.Window [skip ci]
This commit is contained in:
parent
d637efbb70
commit
b22d982f36
7 changed files with 174 additions and 102 deletions
|
@ -26,7 +26,21 @@ namespace GreenshotPlugin.UnmanagedHelpers.Enums
|
|||
[SuppressMessage("ReSharper", "InconsistentNaming")]
|
||||
public enum DWMWINDOWATTRIBUTE : uint
|
||||
{
|
||||
DWMWA_NCRENDERING_ENABLED = 1,
|
||||
DWMWA_NCRENDERING_POLICY,
|
||||
DWMWA_TRANSITIONS_FORCEDISABLED,
|
||||
DWMWA_ALLOW_NCPAINT,
|
||||
DWMWA_CAPTION_BUTTON_BOUNDS,
|
||||
DWMWA_NONCLIENT_RTL_LAYOUT,
|
||||
DWMWA_FORCE_ICONIC_REPRESENTATION,
|
||||
DWMWA_FLIP3D_POLICY,
|
||||
DWMWA_EXTENDED_FRAME_BOUNDS, // This is the one we need for retrieving the Window size since Windows Vista
|
||||
DWMWA_HAS_ICONIC_BITMAP, // Since Windows 7
|
||||
DWMWA_DISALLOW_PEEK, // Since Windows 7
|
||||
DWMWA_EXCLUDED_FROM_PEEK, // Since Windows 7
|
||||
DWMWA_CLOAK, // Since Windows 8
|
||||
DWMWA_CLOAKED, // Since Windows 8
|
||||
DWMWA_FREEZE_REPRESENTATION, // Since Windows 8
|
||||
DWMWA_LAST
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue