notepad-plus-plus-legacy/PowerEditor/src/WinControls
Udo Hoffmann 80c8ee59c9
Fix current range of the Document Map sticking on mouse pointer after resizing Document Map window issue
Fix Mouse remains in clicked state after resizing docked windows:

The reason for the effect is the mouse hook procedure, which seems to be quite obsolete in contemporary systems: it catches the mouse messages and posts them a second time to the same window. I assume, that was ment to speed up the shifting of the splitters on "prehistoric systems" (That's what you call every system not supporting transparent windows). I see no regression without this hook.

What happens is, the hook catches the WM_LBUTTONUP message and posts it to DockingSplitter::runProc. Here, the hook is released and ReleaseCapture() is called. All fine.

But Windows fails to update its internal key state, when the WM_LBUTTONUP comes as an posted-by-a-hook message. So, if you call GetKeyState(VK_LBUTTON) after ReleaseCapture() in the original code, then it is still in a pressed state. Which confuses the Document Map later.

Fix #8285, close #8286
2020-05-19 16:36:40 +02:00
..
AboutDlg Revert "Change the icon in About box" 2020-04-21 14:49:58 +02:00
AnsiCharPanel Update copyright 2020-04-04 23:03:18 +02:00
ClipboardHistory Update copyright 2020-04-04 23:03:18 +02:00
ColourPicker Update copyright 2020-04-04 23:03:18 +02:00
ContextMenu Update copyright 2020-04-04 23:03:18 +02:00
DockingWnd Fix current range of the Document Map sticking on mouse pointer after resizing Document Map window issue 2020-05-19 16:36:40 +02:00
DocumentMap Fix Document map overlay stuck to first monitor 2020-05-18 19:55:29 +02:00
FileBrowser Update copyright 2020-04-04 23:03:18 +02:00
FindCharsInRange Update copyright 2020-04-04 23:03:18 +02:00
FunctionList Update copyright 2020-04-04 23:03:18 +02:00
Grid Fix minor coding error & remove unused variables 2020-05-10 05:19:08 +02:00
ImageListSet Update copyright 2020-04-04 23:03:18 +02:00
OpenSaveFileDialog Update copyright 2020-04-04 23:03:18 +02:00
PluginsAdmin Fix minor coding error & remove unused variables 2020-05-10 05:19:08 +02:00
Preference Fix clickable links break syntax highlighting issue 2020-05-15 17:49:23 +02:00
ProjectPanel Update copyright 2020-04-04 23:03:18 +02:00
ReadDirectoryChanges Fix "Monitoring" not detecting all file changes issue 2020-02-25 22:16:57 +01:00
shortcut Update copyright 2020-04-04 23:03:18 +02:00
SplitterContainer Update copyright 2020-04-04 23:03:18 +02:00
StaticDialog Update copyright 2020-04-04 23:03:18 +02:00
StatusBar Update copyright 2020-04-04 23:03:18 +02:00
TabBar Update copyright 2020-04-04 23:03:18 +02:00
TaskList Update copyright 2020-04-04 23:03:18 +02:00
ToolBar Fix minor coding error & remove unused variables 2020-05-10 05:19:08 +02:00
ToolTip Update copyright 2020-04-04 23:03:18 +02:00
TrayIcon Update copyright 2020-04-04 23:03:18 +02:00
TreeView Coding style / Code cleanup 2015-08-04 18:09:17 +02:00
VerticalFileSwitcher Fix Doc switcher icon state update issue for cloned documents 2020-05-09 18:17:17 +02:00
WindowsDlg Fix minor coding error & remove unused variables 2020-05-10 05:19:08 +02:00
Window.h Update copyright 2020-04-04 23:03:18 +02:00
WindowInterface.h [UPDATE] Update the GPL of all project source code to avoid the bundle version made by the tiers sites : cnet, softonic and 01net. 2012-04-15 16:54:38 +00:00