From 7c2b3317ff095876cf54b328d052f12b8dd7e598 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 22 May 2020 19:38:01 +1000 Subject: Bug [#2171]. Add some documentation about WM_DPICHANGED. --- doc/ScintillaDoc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index b2d5f10bd..6ec941395 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3752,10 +3752,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