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
@@ -174,6 +174,8 @@ PuTTY is a standard Win32 GUI application, not a console. The Console API does n
174
174
175
175
`WM_DPICHANGED` carries the new DPI packed into `wParam` (LOWORD = DPI X, HIWORD = DPI Y) and a `RECT*` in `lParam` with the suggested new window rect:
176
176
177
+
### DPI message helper
178
+
177
179
```csharp
178
180
/// <summary>
179
181
/// Sends WM_DPICHANGED to a GUI window so it can rescale its fonts and layout.
Same issue as PowerShell: PuTTY may start on a different monitor. Because PuTTY is a GUI process, the console API does not apply — but the explicit `WM_DPICHANGED` message works for the initial correction too:
0 commit comments