From 489efcac93c86d2f3e4aa2bdb784c7332998d118 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 22 May 2020 19:38:01 +1000 Subject: Backport: Bug [#2171]. Add some documentation about WM_DPICHANGED. Backport of changeset 8250:daff2daf10d6. --- doc/ScintillaDoc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index e9f3471c0..98040ba94 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3719,10 +3719,10 @@ struct Sci_TextToFind { SendMessage(hScintilla, WM_XXXX, WPARAM, LPARAM) where hScintilla is the handle to the Scintilla window you created as your editor.

-

While we are on the subject of forwarding messages in Windows, the top level window should - forward any WM_SETTINGCHANGE messages to Scintilla (this is currently used to - collect changes to mouse settings, but could be used for other user interface items in the - future).

+

On Windows, the top level window should forward any WM_SETTINGCHANGE, + WM_SYSCOLORCHANGE, and + WM_DPICHANGED messages to Scintilla as this allows Scintilla to respond to changes to + mouse settings, monitor resolution, colour scheme and similar system properties.

SCI_SETBUFFEREDDRAW(bool buffered)
SCI_GETBUFFEREDDRAW → bool
-- cgit v1.2.3