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
The window created for a v3 and v5 theme with the same Width/Height appear slightly larger in v5.
I started comparing thmutil.cpp between v5 and v3 and noticed that in v5, there's an additional call to DpiuAdjustWindowRect. I also noticed that the ThmUtil docs mentions that the Window@Width is the client area width (compared to v3 docs that stated it was the Window width).
The difference seems too small to be DPI related I think. I assume this is related to the Window@HexStyle that's now being accounted for to adjust the window rectangle to provide the desired dimensions for the client rectangle. My style is set to 0x100a0000 (WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
The window created for a v3 and v5 theme with the same Width/Height appear slightly larger in v5.
I started comparing
thmutil.cpp
between v5 and v3 and noticed that in v5, there's an additional call toDpiuAdjustWindowRect
. I also noticed that the ThmUtil docs mentions that the Window@Width is the client area width (compared to v3 docs that stated it was the Window width).The difference seems too small to be DPI related I think. I assume this is related to the Window@HexStyle that's now being accounted for to adjust the window rectangle to provide the desired dimensions for the client rectangle. My style is set to
0x100a0000
(WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX
)Open Source Maintenance Fee
wixtoolset
project because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions