doc/devdocs/modules/mouseutils/readme.md
Public overview - Microsoft Learn
Mouse Utilities is a collection of tools designed to enhance mouse and cursor functionality on Windows. The module contains four sub-utilities that provide different mouse-related features.
Mouse Utilities includes the following sub-modules:
Most of the sub-modules (Find My Mouse, Mouse Highlighter, and Mouse Pointer Crosshairs) run within the PowerToys Runner process as separate threads. Mouse Jump is more complex and runs as a separate process that communicates with the Runner via events.
Mouse Utilities is currently undergoing a UI Test migration process to improve automated testing coverage. You can track the progress of this migration at:
Mouse Utils UI Test Migration Progress
For more detailed implementation information, please refer to the individual utility documentation pages linked above.
WM_PRIV_SHORTCUT message is sent to the sonar windowStartSonar() is called to display a spotlight animation centered on the mouse pointerMouse Highlighter visualizes mouse clicks by displaying a highlight effect around the cursor when clicked.
MouseHighlighter.cppWndProc functionDisplays horizontal and vertical lines that intersect at the mouse cursor position.
InclusiveCrosshairs.cppWndProc functionStartDrawing()Allows quick mouse cursor repositioning to any screen location through a grid-based UI.
PowerToys.MouseJumpUI.exe)MainForm.csMOUSE_JUMP_SHOW_PREVIEW_EVENTTERMINATE_MOUSE_JUMP_SHARED_EVENTFindMyMouse.cpp, MouseHighlighter.cpp, InclusiveCrosshairs.cpp)