Show / Hide Table of Contents

Method Dpi.AdjustWindowRectEx


Overload

Calls API AdjustWindowRectExForDpi if available, else AdjustWindowRectEx.

public static bool AdjustWindowRectEx(DpiOf dpiOf, ref RECT r, WS style, WSE exStyle, bool hasMenu = false)
Parameters
dpiOf  (DpiOf)
r  (RECT)
style  (WS)
exStyle  (WSE)
hasMenu  (bool)
Returns
bool

Remarks

Also adds scrollbar width or/and height if need.